mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
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
This commit is contained in:
@@ -4305,7 +4305,6 @@ BackendInitialize(Port *port)
|
||||
|
||||
/* Save port etc. for ps status */
|
||||
MyProcPort = port;
|
||||
memset(&MyClientConnectionInfo, 0, sizeof(MyClientConnectionInfo));
|
||||
|
||||
/* Tell fd.c about the long-lived FD associated with the port */
|
||||
ReserveExternalFD();
|
||||
|
||||
Reference in New Issue
Block a user