]> granicus.if.org Git - postgresql/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:34:47 +0000 (20:34 -0500)
commitff4fd4bf53c5512427f8ecea08d6ca7777efa2c5
tree2cea18c9a71656fa1ee64bd78989ea8272a67d59
parent04da3232907680caad3445928c97a246c626a14a
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