Re: psql + autocommit

From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql + autocommit
Date: 2004-09-15 17:03:47
Message-ID: 414875F3.2020904@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

No it won't!

It will break any newly compiled version of psql expecting to work to
the old behaviour. It won't affect anyone using an older version of
postgres or psql (ie pre version 8).

To ease any pain, what about a configuration setting for the build
script for postgres (and psql) which changes the default behaviour for
the AUTOCOMMIT setting.

I personally would want to build it with AUTOCOMMIT=OFF is I had the
setting to do so.

This change apart from being more standards compliant would help make
psql "safer" than it currently is.

John Sidney-Woollett

Peter Eisentraut wrote:

> John Sidney-Woollett wrote:
>
>>With the advent of postgres v8, would it be possible to change the
>>default behaviour of psql from AUTOCOMMIT=ON to AUTOCOMMIT=OFF ?
>
>
> Absolutely not. This will break every psql use in existence.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-15 17:17:51 Re: psql + autocommit
Previous Message Guy Fraser 2004-09-15 17:01:45 Re: division by zero issue