Re: postgres home directory

Поиск
Список
Период
Сортировка
От Chris
Тема Re: postgres home directory
Дата
Msg-id 5.1.0.14.0.20011204123452.02482080@cooee.cybersydney.com.au
обсуждение исходный текст
Ответ на postgres home directory  (hodges@xprt.net)
Список pgsql-novice
Hey,

>I have postgres running under RedHat 7.1 and was looking
>for the postgres file structure.  Its supposed to start
>at
>/usr/local/pgsql  with /bin, /data, /data/base... under
>it.  psql is supposed to be in the prsql directory -
>well
>it is in /usr/local with no pgsql directory.
>
>What commands might I use to find the rest of the
>postgres
>files?

Sounds like you installed them from RPM's.
If you have the RPM's still, you can run:

rpm -qpl <rpmfile>

It'll print out the files in the RPM's.

If it's already installed,

rpm -ql <rpmfile>

Produces this sort of output:

/usr/bin/createdb
/usr/bin/createlang
/usr/bin/createuser
/usr/bin/dropdb
/usr/bin/droplang
/usr/bin/dropuser
/usr/bin/pg_dump
/usr/bin/pg_dumpall
/usr/bin/psql
/usr/bin/vacuumdb
/usr/doc/postgresql-7.1
.............

HTH

-----------------
      Chris Smith
http://www.squiz.net/

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

Предыдущее
От: hodges@xprt.net
Дата:
Сообщение: postgres home directory
Следующее
От: "Lukasz Feldman"
Дата:
Сообщение: what's going on...