mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08: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:
parent
f959bf9a5b
commit
701ac2cb1f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user