diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-11 23:06:00 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-11 23:06:00 +0000 |
| commit | e2e2a9db4c6581b3839fc8139f7d33c6770316b9 (patch) | |
| tree | 8e198c5a38b33af3a9898a9a0117f83cd35dbd3e /src/bin/psql/tab-complete.c | |
| parent | bf64a37909cd25e2e14c47de922a51d205795d17 (diff) | |
Code review for psql multiline history patch(es). Fix memory leak,
failure to enter commands in history if canceled by control-C, other
infelicities.
Diffstat (limited to 'src/bin/psql/tab-complete.c')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <ctype.h> #include "libpq-fe.h" +#include "pqexpbuffer.h" #include "common.h" #include "settings.h" |
