Re: [HACKERS] BEGIN vs START TRANSACTION

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Gaetano Mendola <mendola(at)bigfoot(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] BEGIN vs START TRANSACTION
Date: 2003-11-10 17:05:31
Message-ID: 20031110170531.GB6483@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2003-11-10 17:42:44 Re: Experimental patch for inter-page delay in VACUUM
Previous Message Neil Conway 2003-11-10 16:40:45 Re: Experimental patch for inter-page delay in VACUUM

Browse pgsql-patches by date

  From Date Subject
Next Message veramente@libero.it 2003-11-10 18:56:55 psql Italian translation updated
Previous Message Tom Lane 2003-11-10 16:23:20 Re: [HACKERS] BEGIN vs START TRANSACTION