]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't elide blank lines when accumulating psql command history.
authorRobert Haas <rhaas@postgresql.org>
Wed, 16 Nov 2011 01:34:47 +0000 (20:34 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 16 Nov 2011 01:36:28 +0000 (20:36 -0500)
commit692ca693b90667fbbf25b8e8fc99c120543df114
tree447fd169c01b81a351c2ddfa89c6f0fbfd263a5e
parente7c8efa064c8294369839798ab6b23104147f667
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.
src/bin/psql/input.c