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: (view raw, whole thread or download thread mbox)
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      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-2017 The PostgreSQL Global Development Group