pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedSystem / Global psqlrc file location
2+ messages / 2 participants
[nested] [flat]
* System / Global psqlrc file location
@ 2012-11-24 19:05 CS DBA <cs_dba@consistentstate.com>
0 siblings, 1 reply; 2+ messages in thread
From: CS DBA @ 2012-11-24 19:05 UTC (permalink / raw)
To: pgsql-admin
Hi all;
where does the system psqlrc file live?
Thanks in advance
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: System / Global psqlrc file location
@ 2012-11-24 19:29 Raghavendra <raghavendra.rao@enterprisedb.com>
parent: CS DBA <cs_dba@consistentstate.com>
0 siblings, 0 replies; 2+ messages in thread
From: Raghavendra @ 2012-11-24 19:29 UTC (permalink / raw)
To: CS DBA <cs_dba@consistentstate.com>; +Cc: pgsql-admin
On Sun, Nov 25, 2012 at 12:35 AM, CS DBA <cs_dba@consistentstate.com> wrote:
> Hi all;
>
> where does the system psqlrc file live?
>
> Thanks in advance
>
>
> Default is ~/.psqlrc. (postgres user)
You can check the sample file
under /opt/PostgreSQL/9.2/share/postgresql/psqlrc.sample.
If you want to read from any different location then set environment
variable PSQLRC.
http://www.postgresql.org/docs/9.2/static/app-psql.html
---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-11-24 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-11-24 19:05 System / Global psqlrc file location CS DBA <cs_dba@consistentstate.com>
2012-11-24 19:29 ` Raghavendra <raghavendra.rao@enterprisedb.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox