pgsql: Prevent evaluation of backticks while discarding unwanted

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent evaluation of backticks while discarding unwanted
Date: 2004-12-19 19:39:48
Message-ID: 20041219193948.DC2F53A19C9@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-12-19 20:20:39 pgsql: plpgsql's exec_eval_simple_expr() now has to take responsibility
Previous Message User Nickg 2004-12-19 17:44:23 press - pr: Changed release date and contact info