Minor "pre-bug" in gram.y for DROP INDEX CONCURRENTLY IF_P EXISTS

Lists: pgsql-hackers
From: Brendan Byrd <Perl(at)ResonatorSoft(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Minor "pre-bug" in gram.y for DROP INDEX CONCURRENTLY IF_P EXISTS
Date: 2012-08-24 18:24:48
Message-ID: CAEp_DmT8GegykJgkUOpmzdb2cySfi3n-o-dw8LqwWxqWUoSa1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/parser/gram.y;hb=master#l4940

The "missing_ok" property should be true. Just something I noticed
when browsing the code. It appears to be a new language feature, so
it probably hasn't been noticed by the general public yet.

--
Brendan Byrd <Perl(at)ResonatorSoft(dot)org>
Brendan Byrd <BBYRD(at)CPAN(dot)org>


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brendan Byrd <Perl(at)ResonatorSoft(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Minor "pre-bug" in gram.y for DROP INDEX CONCURRENTLY IF_P EXISTS
Date: 2012-08-27 15:42:40
Message-ID: 870.1346082160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Brendan Byrd <Perl(at)ResonatorSoft(dot)org> writes:
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/parser/gram.y;hb=master#l4940
> The "missing_ok" property should be true.

[ rolls eyes ] Apparently that patch wasn't ever, you know, tested?

Will fix, thanks for spotting it!

regards, tom lane