diff options
author | Michael Paquier | 2022-08-24 10:19:00 +0000 |
---|---|---|
committer | Michael Paquier | 2022-08-24 10:19:00 +0000 |
commit | 701ac2cb1fa25ca0b8572e87073d9008ed406b55 (patch) | |
tree | a03278d1403c1d411bf309147572844c34341478 | |
parent | f959bf9a5b9cecd2f6e6bdd24a34a7b269b00827 (diff) |
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
-rw-r--r-- | src/backend/postmaster/postmaster.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 53f02241632..1664fcee2a7 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -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(); |