Re: Where is the system-wide psqlrc on RHEL4?

From: "Dean Gibson (DB Administrator)" <postgresql(at)ultimeth(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Where is the system-wide psqlrc on RHEL4?
Date: 2008-02-10 04:15:36
Message-ID: 47AE7A68.9000805@ultimeth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-bash: pg_config: command not found

It's not installed in the base/server/libs RPMs. I had to search the
uninstalled PostgreSQL RPMs for it, and then (temporarily) install the
"devel" RPM to run it. For CentOS 4.4 & RHEL4, the system-wide psqlrc
is in /etc/sysconfig/pgsql/

-- Dean

On 2008-02-09 18:45, Tom Lane wrote:
> "Dean Gibson (DB Administrator)" <postgresql(at)ultimeth(dot)com> writes:
>
>> I've tried various places, and none seem to work. I've even done a
>> "strings `which psql` | grep psqlrc" to no avail.
>>
>
> "pg_config --sysconfdir" would tell you. I agree the documentation
> on this is less than clear.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Bertheau 2008-02-10 04:34:40 Lockless pg_buffercache
Previous Message Tom Lane 2008-02-10 02:45:43 Re: Where is the system-wide psqlrc on RHEL4?