Re: [HACKERS] psql default options

2007-04-27 Thread Jim Nasby
On Apr 27, 2007, at 12:44 AM, Tom Lane wrote: Gregory Stark [EMAIL PROTECTED] writes: I would like to suggest that we make psql default when in interactive mode to using AUTOCOMMIT=false and ON_ERROR_ROLLBACK=true. That is *way* too big a behavioral change to make depend on something as

[HACKERS] psql default options

2007-04-26 Thread Gregory Stark
For a long time one of the big gripes we get is that when using psql interactively if you turn autocommit off and you typo on the nth command you've suddenly lost all your work. The response was always that we needed a generic subtransaction facility to handle it. We've had such a facility for a

Re: [HACKERS] psql default options

2007-04-26 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: I would like to suggest that we make psql default when in interactive mode to using AUTOCOMMIT=false and ON_ERROR_ROLLBACK=true. That is *way* too big a behavioral change to make depend on something as fragile as whether psql thinks it's interactive or