Does psql v7.4 support a global psqlrc file? I tried adding it to
/etc/postgresql/psqlrc and /etc/psqlrc but in both cases it was ignored.
Adding it to $HOME/.psqlrc worked fine, but means that I need to install
it for each user.
Any ideas why the global file doesn't work?
John Sidney-Woollett
>> 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.
>>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org