summaryrefslogtreecommitdiff
path: root/src/bin/psql/prompt.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-06-11 23:06:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-06-11 23:06:00 +0000
commite2e2a9db4c6581b3839fc8139f7d33c6770316b9 (patch)
tree8e198c5a38b33af3a9898a9a0117f83cd35dbd3e /src/bin/psql/prompt.c
parentbf64a37909cd25e2e14c47de922a51d205795d17 (diff)
Code review for psql multiline history patch(es). Fix memory leak,
failure to enter commands in history if canceled by control-C, other infelicities.
Diffstat (limited to 'src/bin/psql/prompt.c')
-rw-r--r--src/bin/psql/prompt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/psql/prompt.c b/src/bin/psql/prompt.c
index f7d591b0545..07917c53450 100644
--- a/src/bin/psql/prompt.c
+++ b/src/bin/psql/prompt.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.44 2006/04/19 16:02:17 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.45 2006/06/11 23:06:00 tgl Exp $
*/
#include "postgres_fe.h"
#include "prompt.h"
@@ -12,7 +12,6 @@
#include "settings.h"
#include "common.h"
-#include "pqexpbuffer.h"
#include "input.h"
#include "variables.h"