"Dave Page" <dpage@vale-housing.co.uk> writes:
> 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?
regards, tom lane