Re: psql default options - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: psql default options
Date
Msg-id CCB2F686-5AEB-424B-A96D-F47B4F2000FC@decibel.org
Whole thread Raw
In response to Re: psql default options  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Apr 27, 2007, at 12:44 AM, Tom Lane wrote:
> Gregory Stark <stark@enterprisedb.com> 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 not.

What about at least documenting it as a recommended practice? I agree  
with Greg that it's a really good way to operate...
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Windows installer for 8.3 - dev release for testing
Next
From: Jim Nasby
Date:
Subject: Re: too much WAL volume