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

Поиск
Список
Период
Сортировка
От Dean Gibson (DB Administrator)
Тема Re: Where is the system-wide psqlrc on RHEL4?
Дата
Msg-id 47AE7A68.9000805@ultimeth.com
обсуждение исходный текст
Ответ на Re: Where is the system-wide psqlrc on RHEL4?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Where is the system-wide psqlrc on RHEL4?
Список 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@ultimeth.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@postgresql.org so that your
>        message can get through to the mailing list cleanly
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Where is the system-wide psqlrc on RHEL4?
Следующее
От: "Markus Bertheau"
Дата:
Сообщение: Lockless pg_buffercache