We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c6843 commit b8c2421Copy full SHA for b8c2421
src/bin/psql/mainloop.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright 2000 by PostgreSQL Global Development Group
5
6
- * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.38 2001/03/23 00:36:38 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.39 2001/03/26 15:18:51 tgl Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "mainloop.h"
@@ -567,7 +567,9 @@ MainLoop(FILE *source)
567
* it will re-enable ^C catching as soon as it gets back to the top
568
* of its loop and resets main_loop_jmp to point to itself.
569
570
+#ifndef WIN32
571
pqsignal(SIGINT, SIG_DFL);
572
+#endif
573
574
destroyPQExpBuffer(query_buf);
575
destroyPQExpBuffer(previous_buf);
0 commit comments