mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Non-Windows EXEC_BACKEND path was broken by recent write_inheritable_socket
change ... it's got to return true.
This commit is contained in:
parent
bb16dc49ab
commit
c66d9ce774
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user