OSDN Git Service

Prevent evaluation of backticks while discarding unwanted arguments
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Dec 2004 19:39:47 +0000 (19:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Dec 2004 19:39:47 +0000 (19:39 +0000)
commit1553be4a0bdff56214902a26fa62f0c09be15f6b
treef83ae664fed4912562f5c6b7c0bd496b8f34188d
parentcd5c7e7cbdceed75a01d74608e9a9d6f1535ea0f
Prevent evaluation of backticks while discarding unwanted arguments
after an unknown or failed psql backslash command, and also while
discarding "extra" arguments of a putatively valid backslash command.
In the case of an unknown/failed command, make sure we discard the
whole rest of the line, rather than trying to resume at the next
backslash.  Per discussion with Thomer Gil.
src/bin/psql/command.c
src/bin/psql/psqlscan.h
src/bin/psql/psqlscan.l