pgsql: Don't elide blank lines when accumulating psql command history.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't elide blank lines when accumulating psql command history.
Date: 2011-11-16 01:36:53
Message-ID: E1RQUQn-00080F-LN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/43eeaefeea603b7ac0e98879c78da8640f71c86d

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

Browse pgsql-committers by date

  From Date Subject
Next Message User Hinoue 2011-11-16 14:22:17 psqlodbc - psqlodbc: Fix memory leaks in case memory overflow.
Previous Message Tom Lane 2011-11-15 20:48:21 pgsql: Improve caching in range type I/O functions.