Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-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@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux