| 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 20:14:28 |
| Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE0946CA@algol.sollentuna.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
> >> In some cases it writes to the eventlog instead of stderr.
>
> > Yes, this is what's happening. Odd though, considering that I have:
> > #log_destination = 'stderr'
> > In my out-of-the-box config.
>
> pg_ctl doesn't read the config file, though. Probably we
> need to make write_stderr aware that it's running in an
> interactive program rather than in the postmaster, and never
> use the eventlog in this context.
It must sitll use the eventlog when called as a service control process,
otherwise any error output from pg_ctl in that scenario would go to
/dev/null...
There is code that attempts to check this, but it's apparantly failing.
//Magnus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2005-08-29 20:16:47 | Re: CVS Head: Pg_ctl bug? |
| Previous Message | Magnus Hagander | 2005-08-29 20:13:24 | Re: CVS Head: Pg_ctl bug? |