Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Peter Eisentraut
Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > On Tue, 2007-10-09 at 14:25 +0200, Peter Eisentraut wrote: > > I believe, however, that this approach is wrong. The "real error", as > > you put it, is the one reported by the kernel -- by definition. > > Everything else is at best a "hint". > >

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Simon Riggs
On Tue, 2007-10-09 at 14:25 +0200, Peter Eisentraut wrote: > I believe, however, that this approach is wrong. The "real error", as you > put > it, is the one reported by the kernel -- by definition. Everything else is > at best a "hint". Are you objecting to making the wording of the hint/er

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Simon Riggs
On Tue, 2007-10-09 at 14:25 +0200, Peter Eisentraut wrote: > Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > > On Tue, 2007-10-09 at 13:20 +0200, Magnus Hagander wrote: > > > On Tue, Oct 09, 2007 at 01:09:19PM +0200, Peter Eisentraut wrote: > > > > Well, this objection could apply to any place

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Peter Eisentraut
Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > On Tue, 2007-10-09 at 13:20 +0200, Magnus Hagander wrote: > > On Tue, Oct 09, 2007 at 01:09:19PM +0200, Peter Eisentraut wrote: > > > Well, this objection could apply to any place where a file is being > > > opened. I'm curious how you plan to sor

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Simon Riggs
On Tue, 2007-10-09 at 13:20 +0200, Magnus Hagander wrote: > On Tue, Oct 09, 2007 at 01:09:19PM +0200, Peter Eisentraut wrote: > > Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > > > These messages from pg_ctl are not useful > > > > > > $ pg_ctl -D nonexistent stop > > > pg_ctl: PID file "nonexi

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Magnus Hagander
On Tue, Oct 09, 2007 at 01:09:19PM +0200, Peter Eisentraut wrote: > Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > > These messages from pg_ctl are not useful > > > > $ pg_ctl -D nonexistent stop > > pg_ctl: PID file "nonexistent/postmaster.pid" does not exist > > Is server running? > > > > Th

Re: [HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Peter Eisentraut
Am Dienstag, 9. Oktober 2007 schrieb Simon Riggs: > These messages from pg_ctl are not useful > > $ pg_ctl -D nonexistent stop > pg_ctl: PID file "nonexistent/postmaster.pid" does not exist > Is server running? > > The message should say > pg_ctl: Data Directory "nonexistent" does not exist Well,

[HACKERS] Uninformative messages from pg_ctl

2007-10-09 Thread Simon Riggs
These messages from pg_ctl are not useful $ pg_ctl -D nonexistent stop pg_ctl: PID file "nonexistent/postmaster.pid" does not exist Is server running? The message should say pg_ctl: Data Directory "nonexistent" does not exist $ pg_ctl -D nonexistent start postgres cannot access the server config