Re: [HACKERS] BEGIN vs START TRANSACTION

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] BEGIN vs START TRANSACTION
Дата
Msg-id 200311091405.hA9E5BM06993@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] BEGIN vs START TRANSACTION  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [HACKERS] BEGIN vs START TRANSACTION  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > In fact, the BEGIN manual page says:
> >
> >    <xref linkend="sql-start-transaction"
> >    endterm="sql-start-transaction-title"> has the same functionality
> >    as <command>BEGIN</>.
> >
> > which is currently not true because START TRANSACTION has additional
> > options.
>
> Then the that manual page should be fixed.
>
> > The following patch fixes it.  I will put it into 7.5 after an
> > appropriate delay.
>
> I object to adding unnecessary complications like that.

Shouldn't BEGIN and START TRANSACTION have the same mechanics?  The
changes to the code were the addition of only one line.  The rest of the
patch was docs.

--
  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, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] BEGIN vs START TRANSACTION
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] BEGIN vs START TRANSACTION