Re: postmaster hangs

From: Daniel Convissor <danielc(at)analysisandsolutions(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postmaster hangs
Date: 2003-12-03 20:29:20
Message-ID: 20031203202919.GA27256@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Wed, Dec 03, 2003 at 01:57:46PM -0600, Mimi Wu wrote:
>
> $ postmaster -D /usr/local/pgsql/data
... snip ...
> LOG: database system is ready
>
> Then it hangs there forever. What should I do next? use C^ C to stop it?

Add a "&" at the end of the command to get it to run in the background.
Example:

$ postmaster -D /usr/local/pgsql/data &

Part of the reason why pg_ctl is nicer.

Note to maintainers: this should be added to the FAQ_MSWIN and *README
files.

--Dan

--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Paul R. Sand 2003-12-03 21:55:00 Builing C libs for 7.3.4 on XP Professional
Previous Message Mimi Wu 2003-12-03 19:57:46 postmaster hangs