Re: Nested Transaction TODO list

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Nested Transaction TODO list
Дата
Msg-id 200407061709.i66H9CF21794@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Nested Transaction TODO list  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Nested Transaction TODO 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Error Codes
Следующее
От: Yannick Lecaillez
Дата:
Сообщение: Re: Postgresql on SAN