DROP/IF_P EXISTS in gram.y

Started by Michael Meskesover 19 years ago2 messages
#1Michael Meskes
meskes@postgresql.org

Is there any reason why all DROP statements except DROP CAST have two
rules, one with IF_P EXISTS and one without, while DROP CAST uses
opt_if_exists?

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Michael Meskes (#1)
Re: DROP/IF_P EXISTS in gram.y

Michael Meskes wrote:

Is there any reason why all DROP statements except DROP CAST have two
rules, one with IF_P EXISTS and one without, while DROP CAST uses
opt_if_exists?

With all the others that was the only way to stop getting a grammar
conflict, IIRC.

cheers

andrew