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

Commit 701ac2c

Browse files
committed
Remove initialization of MyClientConnectionInfo at backend startup
This stuff should be already initialized at process startup, so adding this extra step is confusing for no gain. Per gripe from Tom Lane and Jacob Champion. Discussion: https://postgr.es/m/bbf2b922-4ff7-5c30-e3ef-2a8bdcdd1116@timescale.com
1 parent f959bf9 commit 701ac2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/postmaster/postmaster.c

-1
Original file line numberDiff line numberDiff line change
@@ -4305,7 +4305,6 @@ BackendInitialize(Port *port)
43054305

43064306
/* Save port etc. for ps status */
43074307
MyProcPort = port;
4308-
memset(&MyClientConnectionInfo, 0, sizeof(MyClientConnectionInfo));
43094308

43104309
/* Tell fd.c about the long-lived FD associated with the port */
43114310
ReserveExternalFD();

0 commit comments

Comments
 (0)