pgsql: Don't elide blank lines when accumulating psql command history. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Don't elide blank lines when accumulating psql command history.
Date
Msg-id E1RQUQn-00080M-OJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't elide blank lines when accumulating psql command history.

This can change the meaning of queries, if the blank line happens to
occur in the middle of a quoted literal, as per complaint from Tomas Vondra.

Back-patch to all supported branches.

Branch
------
REL8_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d2202a6987362abc99dad9bb9e72530609642101

Modified Files
--------------
src/bin/psql/input.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve caching in range type I/O functions.
Next
From: Robert Haas
Date:
Subject: pgsql: Don't elide blank lines when accumulating psql command history.