]> 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:36:24 +0000 (20:36 -0500)
commitae7c9262bf0e5960e85fa2284461ecaedf5b954a
tree1a987fb9827a8d5ae950196d30f02772fab7c76f
parent2463f5da3ccd67b266ee7a9b8c0906221a501b9e
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