1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-10 14:22:35 +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:
Bruce Momjian
2006-02-11 21:55:35 +00:00
parent fbb1daed93
commit 4cb27fef0a
6 changed files with 125 additions and 23 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.41 2006/01/03 23:32:30 tgl Exp $
* $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.42 2006/02/11 21:55:35 momjian Exp $
*/
#include "postgres_fe.h"
#include "prompt.h"
@@ -12,6 +12,7 @@
#include "settings.h"
#include "common.h"
#include "pqexpbuffer.h"
#include "input.h"
#include "variables.h"