Skip to content

Commit 8c98d14

Browse files
michaelpqpull[bot]
authored andcommitted
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 a0de1e8 commit 8c98d14

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 0 additions & 1 deletion
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)