From 0f1802f00c8630060560035a2dfb9cbbf20e78c6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Mon, 15 Dec 1997 22:03:59 +0000 Subject: [PATCH] Fix for user password packet processing, from Goran Thyni. --- src/backend/postmaster/postmaster.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 8450a30e921..fc2a83264a0 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.66 1997/12/11 17:03:52 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.67 1997/12/15 22:03:59 momjian Exp $ * * NOTES * @@ -663,6 +663,7 @@ ServerLoop(void) * the connection id out of the packet so we know who the * packet is from. */ +receive_again: status = PacketReceive(port, &port->buf, NON_BLOCKING); switch (status) { @@ -686,7 +687,7 @@ ServerLoop(void) break; /* port->nBytes = 0; */ - continue; + goto receive_again; } else { int CSstatus; /* Completion status of * ConnStartup */ -- GitLab