Re: [PATCH] Clarify that "psql -c" ignores psqlrc files

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [PATCH] Clarify that "psql -c" ignores psqlrc files
Дата
Msg-id AANLkTikvyhC0g1kdMwNAp-639ctDpmsetrhySMeUeXF4@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] Clarify that "psql -c" ignores psqlrc files  (Tim Landscheidt <tim@tim-landscheidt.de>)
Список pgsql-docs
On Tue, Jul 6, 2010 at 8:38 AM, Tim Landscheidt <tim@tim-landscheidt.de> wrote:
> Balkrishna Sharma <b_ki@hotmail.com> wrote on -admin:
>
>> Thanks. If I want to do at system-wide level, where do I store the psqlrc file (assuming I want to change the timing
behaviorsystem-wide)? 
>> (CentOS 5, Postgres 8.4)
>> $ ./pg_config --sysconfdir/opt/PostgreSQL/8.4/etc/postgresql
>> But I don't have /opt/PostgreSQL/8.4/etc/postgresql directory. Just creating the directory and putting a psqlrc file
overthere does not seem to work. 
>
>> On a side-note, I observered that timing value in ~/.psqlrc was ignored by psql -c "..." command but not by echo
"...."|psqlThoughtit was strange. 
>> [...]
>
> Patch attached to clarify the latter.

Committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: release-9.0.sgml changes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Documentation and explanatory diagrams