From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: [PATCH] Clarify that "psql -c" ignores psqlrc files |
Date: | 2010-07-10 00:50:59 |
Message-ID: | AANLkTikvyhC0g1kdMwNAp-639ctDpmsetrhySMeUeXF4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-docs |
On Tue, Jul 6, 2010 at 8:38 AM, Tim Landscheidt <tim(at)tim-landscheidt(dot)de> wrote:
> Balkrishna Sharma <b_ki(at)hotmail(dot)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 behavior system-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 over there 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 "...."|psqlThought it was strange.
>> [...]
>
> Patch attached to clarify the latter.
Committed.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | Neuber, Dirk | 2010-07-10 10:43:17 | Re: Large files in main/base |
Previous Message | Brad Nicholson | 2010-07-09 19:23:23 | Re: High Availability: Hot Standby vs. Warm Standby |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2010-07-10 02:29:42 | Re: Documentation and explanatory diagrams |
Previous Message | Robert Haas | 2010-07-10 00:27:23 | Re: release-9.0.sgml changes |