Re: Nested Transaction TODO list - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Nested Transaction TODO list
Date
Msg-id 200407061709.i66H9CF21794@candle.pha.pa.us
Whole thread Raw
In response to Re: Nested Transaction TODO list  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Nested Transaction TODO list
List pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> > Why does START have a different Node from BEGIN anyway?  This seems to
> > be a leftover from when people thought they should behave differently.
> > They are the same now, so there's no point in distinguishing them, or is it?
> 
> [shrug...] I'd counsel leaving this as-is.  We've practically always
> regretted it when we made the parser discard information about what
> the user typed.  For instance, I was just reminded yesterday that we
> really ought to distinguish SortClauses created due to user ORDER BY
> clauses from those created because the parser silently added 'em.

What information are we loosing by having START and BEGIN use the same
nodes?  Knowing what keyword they used to start the transaction?  Seems
that would only be important if we wanted them to behave differently,
which we don't, I think.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Error Codes
Next
From: Yannick Lecaillez
Date:
Subject: Re: Postgresql on SAN