diff options
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index fe6316ecbe9..36b8267fa50 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -1761,6 +1761,7 @@ ProcessStartupPacket(Port *port, bool SSLdone) ProtocolVersion proto; MemoryContext oldcontext; + pq_startmsgread(); if (pq_getbytes((char *) &len, 4) == EOF) { /* @@ -1805,6 +1806,7 @@ ProcessStartupPacket(Port *port, bool SSLdone) errmsg("incomplete startup packet"))); return STATUS_ERROR; } + pq_endmsgread(); /* * The first field is either a protocol version number or a special |