OSDN Git Service

Added a fflush(stdout) to the \p command required for the
authorJan Wieck <JanWieck@Yahoo.com>
Fri, 10 Dec 1999 00:26:35 +0000 (00:26 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Fri, 10 Dec 1999 00:26:35 +0000 (00:26 +0000)
multisession test tool.

Jan

src/bin/psql/command.c

index ea20aa2..59b596d 100644 (file)
@@ -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 */