From: Tom Lane Date: Fri, 28 Aug 2009 17:42:54 +0000 (+0000) Subject: Non-Windows EXEC_BACKEND path was broken by recent write_inheritable_socket X-Git-Tag: REL8_5_ALPHA2~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c66d9ce7741435a6741dcd34d25c58085c0c4240;p=postgresql Non-Windows EXEC_BACKEND path was broken by recent write_inheritable_socket change ... it's got to return true. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 7c96d978a0..ff2ba13ef0 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.590 2009/08/24 20:08:32 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.591 2009/08/28 17:42:54 tgl Exp $ * * NOTES * @@ -4488,7 +4488,7 @@ extern PMSignalData *PMSignalState; extern int pgStatSock; #ifndef WIN32 -#define write_inheritable_socket(dest, src, childpid) (*(dest) = (src)) +#define write_inheritable_socket(dest, src, childpid) ((*(dest) = (src)), true) #define read_inheritable_socket(dest, src) (*(dest) = *(src)) #else static bool write_duplicated_handle(HANDLE *dest, HANDLE src, HANDLE child);