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

From Alvaro Herrera
Subject Re: [HACKERS] BEGIN vs START TRANSACTION
Date
Msg-id 20031110170531.GB6483@dcc.uchile.cl
Whole thread Raw
In response to Re: [HACKERS] BEGIN vs START TRANSACTION  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Mon, Nov 10, 2003 at 11:23:20AM -0500, Tom Lane wrote:

> IIRC, the code patch only added about two lines to gram.y.  It seems a
> bit silly to add *more* lines of documentation to explain that the two
> statements aren't alike than it would take lines of code to make them
> work alike.

But maybe it would be useful to point out the difference; for example,
users will get confused if they try to start a subtransaction inside a
plpgsql function using BEGIN.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] BEGIN vs START TRANSACTION
Next
From: m.torelli@eurosek.it (mirco)
Date:
Subject: borland builder 5 postgresql-7.4RC1