pgsql: Prevent evaluation of backticks while discarding unwanted - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Prevent evaluation of backticks while discarding unwanted
Date
Msg-id 20041219193948.DC2F53A19C9@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/bin/psql:
        command.c (r1.137 -> r1.138)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c.diff?r1=1.137&r2=1.138)
        psqlscan.h (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.h.diff?r1=1.3&r2=1.4)
        psqlscan.l (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.l.diff?r1=1.7&r2=1.8)

pgsql-committers by date:

Previous
From: nickg@pgfoundry.org (User Nickg)
Date:
Subject: press - pr: Changed release date and contact info
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: plpgsql's exec_eval_simple_expr() now has to take responsibility