pgsql: Fix another small oversight in command_no_begin patch.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix another small oversight in command_no_begin patch.
Date: 2010-09-28 18:51:20
Message-ID: E1P0fGq-0000HY-D6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix another small oversight in command_no_begin patch.

Need a "return false" to prevent tests from continuing after we've moved
the "query" pointer. As it stood, it'd accept "DROP DISCARD ALL" as a
match.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=112c3fc6db62b39ded8965eddce1f4213308b957

Modified Files
--------------
src/bin/psql/common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-09-28 19:25:17 pgsql: Properly close files after read file failure to prevent potentia
Previous Message Bruce Momjian 2010-09-28 18:43:07 pgsql: Mention that pg_upgrade requires write permission in the current