Re: Configuration on CentOS 4.6

Поиск
Список
Период
Сортировка
От Phillip Smith
Тема Re: Configuration on CentOS 4.6
Дата
Msg-id 004a01c8a990$111e1cb0$9b0014ac@wbaus090
обсуждение исходный текст
Ответ на Configuration on CentOS 4.6  (Bruce Hyatt <brucejhyatt@yahoo.com>)
Ответы Re: Configuration on CentOS 4.6  (Bruce Hyatt <brucejhyatt@yahoo.com>)
Список pgsql-novice
> For example, there's no pg_hba.config and there's no directory /pgsql/data
anywhere to put one in.

You need to run initdb which will generate those files with default content.

I'm not sure where CentOS / RedHat puts them by default (I compile from
source) but at a guess:
/usr/local/postgres/bin/initdb -D /path/to/database/files/ databasename

Run that as the postgres user.
/path/to/database/files/ is where you want to put the files. It does not
need to exist already as initdb will create it. Depends how CentOS / RedHat
have setup the package, but it would possible default to
/usr/local/postgres/data/ I think.


THINK BEFORE YOU PRINT - Save paper if you don't really need to print this

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments
e-mail.

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

Предыдущее
От: Bruce Hyatt
Дата:
Сообщение: Configuration on CentOS 4.6
Следующее
От: Bruce Hyatt
Дата:
Сообщение: Re: Configuration on CentOS 4.6