]> 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:20 +0000 (20:36 -0500)
commit90bbeb195deed468decbd03af713512a990c1938
tree80e9f5a57153ae5beb7048564bdeca5f89486445
parentf72baf7e61127eba512e5d0523a4c36ffa704913
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