Re: When starting postgres, it hangs like it is still connected to stdout - Mailing list pgsql-general

From Shaun Thomas
Subject Re: When starting postgres, it hangs like it is still connected to stdout
Date
Msg-id 0683F5F5A5C7FE419A752A034B4A0B9797670675@sswchi5pmbx2.peak6.net
Whole thread Raw
In response to When starting postgres, it hangs like it is still connected to stdout  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
Responses Re: When starting postgres, it hangs like it is still connected to stdout
List 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 by date:

Previous
From: Susan Cassidy
Date:
Subject: When starting postgres, it hangs like it is still connected to stdout
Next
From: Joe Van Dyk
Date:
Subject: Re: Is there a way to return "true"/"false" string for boolean type?