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 18:33:09
Message-ID: 41488AE5.8090803@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

OK that's exactly what I want - thanks! I wasn't aware of a global
psqlrc file.

BTW, I still think the default behaviour is incorrect...

But at least I can work around it now and have the change be global. :)

Thanks again

John Sidney-Woollett

Peter Eisentraut wrote:

> John Sidney-Woollett wrote:
>
>>I'd like to see a global setting that I could change, not one on a
>>user by user basis...
>
>
> Then I suggest that in addition to the per-user configuration file
> ~/.psqlrc you implement a global configuration file
> /etc/postgresql/psqlrc. That would be the place you could put such a
> setting.
>
>
>>I'd also like a message in the Welcome banner telling me what the
>>current AUTOCOMMIT setting is...
>
>
> Put
>
> \echo 'AUTOCOMMIT is' :AUTOCOMMIT
>
> in your configuration file and you're done.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey W. Baker 2004-09-15 18:36:18 Re: disk performance benchmarks
Previous Message Peter Eisentraut 2004-09-15 18:08:09 Re: psql + autocommit