Re: [PATCHES] fork() refactoring

2005-03-10 Thread Neil Conway
Neil Conway wrote: I'll apply this patch to HEAD later today, barring any objections. Applied. -Neil ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [PATCHES] fork() refactoring

2005-03-07 Thread Neil Conway
Tom Lane wrote: I'm worried about whether this doesn't break the EXEC_BACKEND case. Most of the code you've moved out isn't applicable to Windows, but the fflushes probably are Right, which is why the patch adds fflushes to the Unix implementation of internal_forkexec(). On reflection, it is

[PATCHES] fork() refactoring

2005-03-05 Thread Neil Conway
This patch moves all the common code that is usually invoked before doing a fork() into a single function, fork_process(). It is not aware of the EXEC_BACKEND machinery, so it should be used as fork() currently is -- inside an #ifndef EXEC_BACKEND block, if appropriate. I wasn't sure whether

Re: [PATCHES] fork() refactoring

2005-03-05 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: This patch moves all the common code that is usually invoked before doing a fork() into a single function, fork_process(). It is not aware of the EXEC_BACKEND machinery, so it should be used as fork() currently is -- inside an #ifndef EXEC_BACKEND