From e2e2a9db4c6581b3839fc8139f7d33c6770316b9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 11 Jun 2006 23:06:00 +0000 Subject: Code review for psql multiline history patch(es). Fix memory leak, failure to enter commands in history if canceled by control-C, other infelicities. --- 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 653e57023d8..36d2ff22020 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.152 2006/05/28 02:27:08 alvherre Exp $ + * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.153 2006/06/11 23:06:00 tgl Exp $ */ /*---------------------------------------------------------------------- @@ -43,7 +43,6 @@ #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: */ @@ -51,6 +50,7 @@ #include #include "libpq-fe.h" +#include "pqexpbuffer.h" #include "common.h" #include "settings.h" -- cgit v1.2.3