Skip site navigation (1) Skip section navigation (2)

Re: CVS Head: Pg_ctl bug?

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: CVS Head: Pg_ctl bug?
Date: 2005-08-29 19:58:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
> > I just noticed that if I don't specify a data directory 
> either on the 
> > command line or in $PGDATA,, pg_ctl fails silently on 
> Windows (haven't 
> > been able to test other platforms atm). Is this a bug or an 
> oversight 
> > - an error message would seem appropriate?
> On my machine it does this:
> $ bin/pg_ctl start
> pg_ctl: no database directory specified and environment 
> variable PGDATA unset Try "pg_ctl --help" for more information.
> $
> Is write_stderr() broken on Windows?

In some cases it writes to the eventlog instead of stderr. Dave, can you
check if this is what's happening to you?


pgsql-bugs by date

Next:From: Dave PageDate: 2005-08-29 20:08:14
Subject: Re: CVS Head: Pg_ctl bug?
Previous:From: Tom LaneDate: 2005-08-29 19:46:02
Subject: Re: CVS Head: Pg_ctl bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group