summaryrefslogtreecommitdiff
path: root/src/bin/psql/tab-complete.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/tab-complete.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/tab-complete.c')
-rw-r--r--src/bin/psql/tab-complete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 1a99dc9ca98..fd32a520fd4 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.144 2006/01/11 08:43:12 neilc Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.145 2006/02/11 21:55:35 momjian Exp $
*/
/*----------------------------------------------------------------------
@@ -43,6 +43,7 @@
#include "postgres_fe.h"
#include "tab-complete.h"
+#include "pqexpbuffer.h"
#include "input.h"
/* If we don't have this, we might as well forget about the whole thing: */
@@ -50,7 +51,6 @@
#include <ctype.h>
#include "libpq-fe.h"
-#include "pqexpbuffer.h"
#include "common.h"
#include "settings.h"