From 4cb27fef0a9fa98448f68de1e7c928fad6895706 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 11 Feb 2006 21:55:35 +0000 Subject: 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 --- src/bin/psql/tab-complete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/psql/tab-complete.c') 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 #include "libpq-fe.h" -#include "pqexpbuffer.h" #include "common.h" #include "settings.h" -- cgit v1.2.3