]> 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:32 +0000 (20:36 -0500)
commitd2202a6987362abc99dad9bb9e72530609642101
tree7c731457962f332dacbc854d619d953f21f9ac0a
parent003fae7ab4723b542fad657e8387401710650c61
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