]> 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:13 +0000 (20:36 -0500)
commit43eeaefeea603b7ac0e98879c78da8640f71c86d
tree5cd334dad3dcd7e922796efadd8688dbc72d37d8
parent8fad10a57575c7ee376ec8eaee416ffab0de00a3
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