aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-03-26 15:18:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-03-26 15:18:51 +0000
commitb8c2421ef6145a4554d4060134a37690782b8aed (patch)
treef471477f97e5a5c555363fc576d61656fd8d3878 /src
parent80c6843e6ba654fa0dcd7864b5aa8f495e70c032 (diff)
downloadpostgresql-b8c2421ef6145a4554d4060134a37690782b8aed.tar.gz
postgresql-b8c2421ef6145a4554d4060134a37690782b8aed.zip
pqsignal call needs to be #ifndef WIN32, per report from Magnus.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/mainloop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c
index ef124d2fa0f..1d5db855bb5 100644
--- a/src/bin/psql/mainloop.c
+++ b/src/bin/psql/mainloop.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $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 $
*/
#include "postgres_fe.h"
#include "mainloop.h"
@@ -567,7 +567,9 @@ MainLoop(FILE *source)
* it will re-enable ^C catching as soon as it gets back to the top
* of its loop and resets main_loop_jmp to point to itself.
*/
+#ifndef WIN32
pqsignal(SIGINT, SIG_DFL);
+#endif
destroyPQExpBuffer(query_buf);
destroyPQExpBuffer(previous_buf);