summaryrefslogtreecommitdiff
path: root/src/bin/psql/prompt.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-02-11 21:55:35 +0000
committerBruce Momjian <bruce@momjian.us>2006-02-11 21:55:35 +0000
commit4cb27fef0a9fa98448f68de1e7c928fad6895706 (patch)
tree463e136f4ddd5f7e002275cfc102602813ede7c1 /src/bin/psql/prompt.c
parentfbb1daed938d404f3e669a3ab499e661af2bd25e (diff)
o Improve psql's handling of multi-line statements
Currently, while \e saves a single statement as one entry, interactive statements are saved one line at a time. Ideally all statements would be saved like \e does. Sergey E. Koposov
Diffstat (limited to 'src/bin/psql/prompt.c')
-rw-r--r--src/bin/psql/prompt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/prompt.c b/src/bin/psql/prompt.c
index 5afbfc68c49..f56ce6bf5bc 100644
--- a/src/bin/psql/prompt.c
+++ b/src/bin/psql/prompt.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.41 2006/01/03 23:32:30 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.42 2006/02/11 21:55:35 momjian Exp $
*/
#include "postgres_fe.h"
#include "prompt.h"
@@ -12,6 +12,7 @@
#include "settings.h"
#include "common.h"
+#include "pqexpbuffer.h"
#include "input.h"
#include "variables.h"