Re: SQL statements: begin and end - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: SQL statements: begin and end
Date
Msg-id 199911231804.NAA06490@candle.pha.pa.us
Whole thread Raw
In response to SQL statements: begin and end  (Zeugswetter Andreas SEV <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I see everybody using the following PostgreSQL statements:
> 
> "begin" instead of "begin work"
> "end" instead of "commit work"
> 
> This is really bad, because it is not standard, and can easily be taken for
> a statement block, which it is definitely not ! It is a transaction block.

> 
> I vote for issuing a NOTICE for these in V7 and remove them in V8,
> at least the single "end"

Not sure on this one.  Why not let them use it?

> 
> Bruce, please don't use "begin" and "end" in your book.

OK.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Alessio Bragadini
Date:
Subject: A bug or a feature?
Next
From: Zeugswetter Andreas SEV
Date:
Subject: AW: AW: AW: [HACKERS] Getting OID in psql of recent insert