mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user