From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Harald Armin Massa <haraldarminmassa(at)gmail(dot)com>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [BUGS] Missing error message on missing ssl-key-files |
Date: | 2007-01-30 15:39:03 |
Message-ID: | 20070130153903.GD20887@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On Tue, Jan 30, 2007 at 10:32:14AM -0500, Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
> > So I still tthink it's a good idea. Even though it doesn't solve every
> > case, it solves a lot of them I think. And more importantly on that, I
> > don't see how it would *break* anything (given that it still fires only
> > when running as a service, when everything on stderr is just thrown away
> > anyway). Do you see suhc a failure case?
>
> The case I'm worried about is subprocess startup, where we haven't yet
> been able to re-set any of these variables correctly. And yes, I think
> it's an issue: if a DBA is expecting to find PG error messages in the
> syslogger files, he's unlikely to go look in the eventlog.
But in that case, the syslogger is already running, right? So it'll pick
up the messages and drop them in the log as expected. Because we can't
start backends before the syslogger is up, and I think it's the first of
our subprocesses to start still?
You'll have problems if the syslogger keeps crashing, but if that
happens we will at least have the log that the syslogger is crashing.
I get the feeling I'm missing something, but I'm not sure what it is :-)
But I guess maybe the added check has to be not just (!syslogger_started)
but (!syslogger_started && is_postmaster)?
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-30 16:45:24 | Re: [BUGS] Missing error message on missing ssl-key-files |
Previous Message | Tom Lane | 2007-01-30 15:32:14 | Re: [BUGS] Missing error message on missing ssl-key-files |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Dong | 2007-01-30 16:14:15 | Re: [ADMIN] How to configure Postgres NOT to use (load) openssl libraries libeay32.dll and ssleay32.dll |
Previous Message | Magnus Hagander | 2007-01-30 15:35:11 | Re: [HACKERS] Searching some sites explaing about PosgtreSQL |