| From: | Tim Landscheidt <tim(at)tim-landscheidt(dot)de> |
|---|---|
| To: | pgsql-docs(at)postgresql(dot)org |
| Subject: | [PATCH] Clarify that "psql -c" ignores psqlrc files |
| Date: | 2010-07-06 12:38:39 |
| Message-ID: | m3k4p8944w.fsf_-_@passepartout.tim-landscheidt.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-docs |
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.
Tim
| Attachment | Content-Type | Size |
|---|---|---|
| psql-clarify-c-option.patch | text/x-patch | 1.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tim Landscheidt | 2010-07-06 12:53:45 | Re: "Localizing" paths? |
| Previous Message | higeon | 2010-07-06 01:59:24 | Postmaster taking up 100% of CPU |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tim Landscheidt | 2010-07-06 12:53:45 | Re: "Localizing" paths? |
| Previous Message | Satoshi Nagayasu | 2010-07-06 07:30:00 | Re: [INTERFACES] ECPG Documentation Improvement |