Re: database location problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: database location problems
Дата
Msg-id 29884.1039116073@sss.pgh.pa.us
обсуждение исходный текст
Ответ на database location problems  ("Devinder K Rajput" <Devinder.Rajput@ipaper.com>)
Список pgsql-novice
"Devinder K Rajput" <Devinder.Rajput@ipaper.com> writes:
> I have installed 7.3 in /usr/local/pgsql.  However, I want the system
> tables, config files, etc. located in the /data/db/system directory.  I am
> able to do "initdb -D PGDATA" (PGDATA = /data/db/system) and it works fine.
> However, when I try to create a database, createdb tells me that it cannot
> find  /usr/local/pgsql/data/global/1262 (which i assume is template1).

You have not mentioned the step where you start the postmaster --- but
you need to make sure you give that same -D switch to the postmaster.

            regards, tom lane

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

Предыдущее
От: Kelly McDonald
Дата:
Сообщение: Test to see if currval will fail?
Следующее
От: "Mark Wilson"
Дата:
Сообщение: Infinite Loop