Re: [HACKERS] BEGIN vs START TRANSACTION - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] BEGIN vs START TRANSACTION
Date
Msg-id 200311091405.hA9E5BM06993@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] BEGIN vs START TRANSACTION  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] BEGIN vs START TRANSACTION  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] BEGIN vs START TRANSACTION
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] BEGIN vs START TRANSACTION