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

From Tom Lane
Subject Re: Does psql use nested transactions?
Date
Msg-id 5898.1092239255@sss.pgh.pa.us
Whole thread Raw
In response to Re: Does psql use nested transactions?  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Responses Re: Does psql use nested transactions?
List pgsql-hackers
>> Should psql run every statement in a nested transaction and only rollback
>> that TX?

> psql is designed to follow the same logical statement progression as any
> other connection to the database.  Your suggestion could muck up sql
> scripts piped through it to the database.

The other objection is that this would create very substantial overhead.

It might be reasonable to offer that behavior as an option, but I think
I'd only want it on for interactive input.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: pg_restore (libpq? parser?) bug in 8
Next
From: Philip Warner
Date:
Subject: pg_restore (libpq? parser?) bug in 8