Sort out paired double quotes in \connect, \password and \crosstabview.

Noah Misch <noah@leadboat.com>

Commit: aed766ab55c7d0f25653427789f78a6e12c2ae7b
Author: Noah Misch <noah@leadboat.com>
Date: 2016-08-08T14:07:53Z
Releases: 9.1.23
Sort out paired double quotes in \connect, \password and \crosstabview.

In arguments, these meta-commands wrongly treated each pair as closing
the double quoted string.  Make the behavior match the documentation.
This is a compatibility break, but I more expect to find software with
untested reliance on the documented behavior than software reliant on
today's behavior.  Back-patch to 9.1 (all supported versions).

Reviewed by Tom Lane and Peter Eisentraut.

Security: CVE-2016-5424

Files

PathChange+/−
src/bin/psql/psqlscan.l modified +2 −1