Skip site navigation (1) Skip section navigation (2)

Re: psql default options

From: Jim Nasby <decibel(at)decibel(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql default options
Date: 2007-04-27 17:09:12
Message-ID: CCB2F686-5AEB-424B-A96D-F47B4F2000FC@decibel.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Apr 27, 2007, at 12:44 AM, Tom Lane wrote:
> Gregory Stark <stark(at)enterprisedb(dot)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(at)nasby(dot)net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



In response to

pgsql-hackers by date

Next:From: Jim NasbyDate: 2007-04-27 17:33:06
Subject: Re: too much WAL volume
Previous:From: Joshua D. DrakeDate: 2007-04-27 16:51:05
Subject: Re: Windows installer for 8.3 - dev release for testing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group