Re: TODO: Add a GUC to control whether BEGIN inside - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: TODO: Add a GUC to control whether BEGIN inside
Date
Msg-id 1167758765.8485.7.camel@localhost.localdomain
Whole thread Raw
In response to Re: TODO: Add a GUC to control whether BEGIN inside  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: TODO: Add a GUC to control whether BEGIN inside
List pgsql-hackers
On Tue, 2007-01-02 at 11:53 +0100, Peter Eisentraut wrote:
> Am Donnerstag, 28. Dezember 2006 18:57 schrieb Bruce Momjian:
> > I think you can make the case that this should be an error, or at least
> > that's how it got on the TODO list.  I can always remove it if people
> > don't want the item completed.
> 
> The reason this was added is that modular applications expect that a locally 
> issued BEGIN ... COMMIT executes a transaction, whereas now you don't know 
> what you're getting.  I think this change would have merit.

Interesting point. My only comment is, "Do it one way or the other,
don't give me a user or a distribution packager a foot gun."

E.g., no GUC parameter. Just change the behavior or don't.

Joshua D. Drake


> 
-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate





pgsql-hackers by date:

Previous
From: Lukas Kahwe Smith
Date:
Subject: Re: TODO: Add a GUC to control whether BEGIN inside
Next
From: Tom Lane
Date:
Subject: Re: TODO: Add a GUC to control whether BEGIN inside