aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.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/help.c
parentfbb1daed938d404f3e669a3ab499e661af2bd25e (diff)
downloadpostgresql-4cb27fef0a9fa98448f68de1e7c928fad6895706.tar.gz
postgresql-4cb27fef0a9fa98448f68de1e7c928fad6895706.zip
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/help.c')
-rw-r--r--src/bin/psql/help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 879cdecd0e3..59c86177555 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -3,10 +3,11 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.106 2005/10/15 02:49:40 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.107 2006/02/11 21:55:35 momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
+#include "pqexpbuffer.h"
#include "input.h"
#include "print.h"
#include "help.h"