Re: [HACKERS] EXEC_BACKEND + logging_collector=on is broken

2015-01-13 Thread Andres Freund
On 2015-01-13 20:21:55 +0100, Andres Freund wrote: > On 2015-01-13 11:10:06 -0800, Magnus Hagander wrote: > > EXEC_BACKEND on Windows doesn't actually use a tempfile though, so I'm > > guessing that's it. > > Ah! Then this really is fairly harmless. Will fix and backpatch anyway, > but the number

Re: [HACKERS] EXEC_BACKEND + logging_collector=on is broken

2015-01-13 Thread Tom Lane
Andres Freund writes: > On 2015-01-13 11:10:06 -0800, Magnus Hagander wrote: >> EXEC_BACKEND on Windows doesn't actually use a tempfile though, so I'm >> guessing that's it. > Ah! Then this really is fairly harmless. Will fix and backpatch anyway, > but the number of affected people should be pre

Re: [HACKERS] EXEC_BACKEND + logging_collector=on is broken

2015-01-13 Thread Andres Freund
On 2015-01-13 11:10:06 -0800, Magnus Hagander wrote: > EXEC_BACKEND on Windows doesn't actually use a tempfile though, so I'm > guessing that's it. Ah! Then this really is fairly harmless. Will fix and backpatch anyway, but the number of affected people should be pretty much zero. Greetings, And

Re: [HACKERS] EXEC_BACKEND + logging_collector=on is broken

2015-01-13 Thread Magnus Hagander
On Tue, Jan 13, 2015 at 10:23 AM, Andres Freund wrote: > 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

[HACKERS] EXEC_BACKEND + logging_collector=on is broken

2015-01-13 Thread Andres Freund
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 d

Re: [HACKERS] EXEC_BACKEND

2008-09-23 Thread Simon Riggs
On Tue, 2008-09-23 at 16:35 -0400, Bruce Momjian wrote: > Simon Riggs wrote: > > > > > > I can't find anything coherent in docs/readme/comments to explain why it > > > > exists and what its implications are. > > > > > > It exists because Windows doesn't have fork(), only the equivalent of > > >

Re: [HACKERS] EXEC_BACKEND

2008-09-23 Thread Bruce Momjian
Magnus Hagander wrote: > Bruce Momjian wrote: > > Simon Riggs wrote: > >> On Tue, 2008-09-16 at 15:53 -0400, Tom Lane wrote: > >>> Simon Riggs <[EMAIL PROTECTED]> writes: > We keep talking about EXEC_BACKEND mode, though until recently I had > misunderstood what that meant. I also realise

Re: [HACKERS] EXEC_BACKEND

2008-09-23 Thread Magnus Hagander
Bruce Momjian wrote: > Simon Riggs wrote: >> On Tue, 2008-09-16 at 15:53 -0400, Tom Lane wrote: >>> Simon Riggs <[EMAIL PROTECTED]> writes: We keep talking about EXEC_BACKEND mode, though until recently I had misunderstood what that meant. I also realised that I have more than once n

Re: [HACKERS] EXEC_BACKEND

2008-09-23 Thread Bruce Momjian
Simon Riggs wrote: > > On Tue, 2008-09-16 at 15:53 -0400, Tom Lane wrote: > > Simon Riggs <[EMAIL PROTECTED]> writes: > > > We keep talking about EXEC_BACKEND mode, though until recently I had > > > misunderstood what that meant. I also realised that I have more than > > > once neglected to take i

Re: [HACKERS] EXEC_BACKEND

2008-09-17 Thread Simon Riggs
On Tue, 2008-09-16 at 15:53 -0400, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> writes: > > We keep talking about EXEC_BACKEND mode, though until recently I had > > misunderstood what that meant. I also realised that I have more than > > once neglected to take it into account when writing a p

Re: [HACKERS] EXEC_BACKEND

2008-09-16 Thread Tom Lane
Simon Riggs <[EMAIL PROTECTED]> writes: > We keep talking about EXEC_BACKEND mode, though until recently I had > misunderstood what that meant. I also realised that I have more than > once neglected to take it into account when writing a patch - one recent > patch failed to do this. > I can't find

[HACKERS] EXEC_BACKEND

2008-09-16 Thread Simon Riggs
We keep talking about EXEC_BACKEND mode, though until recently I had misunderstood what that meant. I also realised that I have more than once neglected to take it into account when writing a patch - one recent patch failed to do this. I can't find anything coherent in docs/readme/comments to exp