| From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | EXEC_BACKEND + logging_collector=on is broken |
| Date: | 2015-01-13 18:23:44 |
| Message-ID: | 20150113182344.GF12272@alap3.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
Currently the combination from $subject fails for me with "could not
read from backend variables file ...".
The origin for that problem seems to be b94ce6e80 which moved
RemovePgTempFiles() to after SysLogger_Start(). Unless the syslogger
starts up very quickly RemovePgTempFiles() will have deleted the server
variables file.
I think moving the RemovePgTempFiles() to just above SysLogger_Start()
should preserve the faster reporting for pg_ctl intended by b94ce6e80
and fix the startup issue?
I'm rather surprised that this hasn't caused more problems. Apparently
windows users don't use the logging_collector?
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2015-01-13 19:10:06 | Re: EXEC_BACKEND + logging_collector=on is broken |
| Previous Message | Heikki Linnakangas | 2015-01-13 18:11:31 | Re: Check that streaming replica received all data after master shutdown |