Re: When starting postgres, it hangs like it is still connected to stdout

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: When starting postgres, it hangs like it is still connected to stdout
Дата
Msg-id 0683F5F5A5C7FE419A752A034B4A0B9797670675@sswchi5pmbx2.peak6.net
обсуждение исходный текст
Ответ на When starting postgres, it hangs like it is still connected to stdout  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
Ответы Re: When starting postgres, it hangs like it is still connected to stdout
Список pgsql-general
> When I start postgres using postgres -D $PGDATA, it hangs, and I see that
> postgres and all the other attendant processes are running, but I never
> get my prompt back.

Don't start PostgreSQL with the 'postgres' command. That's the name of the actual server process. You want to use the
controlscript, normally named pg_ctl. You call it like this: 

pg_ctl -D $PGDATA start

Stop it like this:

pg_ctl -D $PGDATA stop

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


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

Предыдущее
От: Susan Cassidy
Дата:
Сообщение: When starting postgres, it hangs like it is still connected to stdout
Следующее
От: Joe Van Dyk
Дата:
Сообщение: Re: Is there a way to return "true"/"false" string for boolean type?