Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 control script, 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux