Re: System / Global psqlrc file location

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: CS DBA <cs_dba(at)consistentstate(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: System / Global psqlrc file location
Date: 2012-11-24 19:29:06
Message-ID: CA+h6AhiM+t45rxiJCSWyWocsFUL53ZpXrBdKsTPd-rg9OY9P=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, Nov 25, 2012 at 12:35 AM, CS DBA <cs_dba(at)consistentstate(dot)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Magnus Hagander 2012-11-25 17:07:19 Re: PostgreSQL server: received invalid response to SSL negotiation
Previous Message CS DBA 2012-11-24 19:05:47 System / Global psqlrc file location