Re: Does psql use nested transactions? - Mailing list pgsql-hackers

From Dennis Bjorklund
Subject Re: Does psql use nested transactions?
Date
Msg-id Pine.LNX.4.44.0408180653540.9559-100000@zigo.dhs.org
Whole thread Raw
In response to Re: Does psql use nested transactions?  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
On 17 Aug 2004, Greg Stark wrote:

> With Postgres I effectively have to work in autocommit mode. Starting over
> from scratch every time I make a typo is infeasible. It feels like trying to
> type in a C program using "cat". I've done it before but it's not something I
> want to repeat often.

I agree. I would like to not use autocommit but I do way to many syntax 
errors for it to be practical in pg.

Autocommit for me is just a hack to get around the above "limitation".

> In an ideal world I would actually have suggested all drivers would want to
> work this way.

For interactive use I'd like simple errors like syntax error to not abort 
a transaction. For other uses it's good that it aborts.

-- 
/Dennis Björklund



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: to_char() and negative intervals
Next
From: Oliver Jowett
Date:
Subject: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks