From a27542c3a84420c9258cd0b5c339b529bbba038a Mon Sep 17 00:00:00 2001
From: Jan Wieck <JanWieck@Yahoo.com>
Date: Fri, 10 Dec 1999 00:26:35 +0000
Subject: [PATCH] Added a fflush(stdout) to the \p command required for the
 multisession test tool.

Jan
---
 src/bin/psql/command.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index ea20aa20d41..59b596d6f22 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -524,6 +524,7 @@ exec_command(const char *cmd,
 			puts(query_buf->data);
 		else if (!GetVariableBool(pset->vars, "quiet"))
 			puts("Query buffer is empty.");
+		fflush(stdout);
 	}
 
 	/* \pset -- set printing parameters */
-- 
GitLab