Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 84a1f0a

Browse files
committed
Fix copying listen sockets at windows
1 parent 62566b2 commit 84a1f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ typedef struct
524524
InheritableSocket portsocket;
525525
InheritableSocket sessionsocket;
526526
char DataDir[MAXPGPATH];
527-
pgsocket ListenSocket[MAXLISTEN];
527+
pgsocket ListenSocket[MAXLISTEN + MAX_CONNPOOL_WORKERS];
528528
int32 MyCancelKey;
529529
int MyPMChildSlot;
530530
#ifndef WIN32

0 commit comments

Comments
 (0)