bug report: 7.4beta3 pg_ctl log handling - Mailing list pgsql-bugs

From Arguile
Subject bug report: 7.4beta3 pg_ctl log handling
Date
Msg-id 1065069586.26654.78.camel@broadswd
Whole thread Raw
Responses Re: bug report: 7.4beta3 pg_ctl log handling
List pgsql-bugs
Simplest case to test is:

    pg_ctl start -D /valid/db/dir -l /invalid/dir
    pg_ctl: /invalid/dir: No such file or directory
    postmaster successfully started

Postmaster hasn't started and the error could probably use some work.

Perhaps some more tests after line 340 of pg_ctl would be appropriate.
Something along the lines of (perlish pseudocode):

    if ( -w $logfile || ( -w `dirname $logfile` )

Should it also test -O to ensure ownership if the file does exist? I'll
brush up on my sh and submit a patch if requested.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: is this my date problem
Next
From: Tom Lane
Date:
Subject: Re: bug report: 7.4beta3 pg_ctl log handling