Don't elide blank lines when accumulating psql command history.

Robert Haas <rhaas@postgresql.org>

Commit: d2202a6987362abc99dad9bb9e72530609642101
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-11-16T01:36:32Z
Releases: 8.2.23
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.

Files

PathChange+/−
src/bin/psql/input.c modified +2 −2