System / Global psqlrc file location
System / Global psqlrc file location
От:
CS DBA <cs_dba@consistentstate.com>
Дата:
Hi all; where does the system psqlrc file live? Thanks in advance
Re: System / Global psqlrc file location
От:
Raghavendra <raghavendra.rao@enterprisedb.com>
Дата:
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.
---
Regards,
Raghavendra
EnterpriseDB Corporation