Small problem with pg_ctl.

Поиск
Список
Период
Сортировка
От Keith Parks
Тема Small problem with pg_ctl.
Дата
Msg-id 200002052255.WAA11408@mtcc.demon.co.uk
обсуждение исходный текст
Список pgsql-hackers
I've a problem with pg_ctl.

When attempting to start the postmaster I get :-

bash-2.03$   /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data start
postmaster successfully started up.
bash-2.03$ /usr/local/pgsql/bin/postmaster does not know where to find the 
database system data.  You must specify the directory that contains the database 
system either by specifying the -D invocation option or by setting the PGDATA 
environment variable.

No data directory -- can't proceed.

I think this small patch should fix it.

Keith.

*** src/bin/pg_ctl/pg_ctl.sh.orig       Sat Feb  5 22:29:52 2000
--- src/bin/pg_ctl/pg_ctl.sh    Sat Feb  5 22:30:55 2000
***************
*** 76,81 ****
--- 76,82 ----       -D)           shift           PGDATA="$1"
+           export PGDATA           ;;       -p)           shift



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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: [HACKERS] Spoke too soon (was RE: cvs committers digest)
Следующее
От: Keith Parks
Дата:
Сообщение: Solaris regression tests.