Re: psql + autocommit

Поиск
Список
Период
Сортировка
От John Sidney-Woollett
Тема Re: psql + autocommit
Дата
Msg-id 4148B4E4.20502@wardbrook.com
обсуждение исходный текст
Ответ на Re: psql + autocommit  (John Sidney-Woollett <johnsw@wardbrook.com>)
Ответы Re: psql + autocommit
Re: psql + autocommit
Re: psql + autocommit
Re: psql + autocommit
Список pgsql-general
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

В списке pgsql-general по дате отправления: