Обсуждение: DROP/IF_P EXISTS in gram.y

Поиск
Список
Период
Сортировка

DROP/IF_P EXISTS in gram.y

От
Michael Meskes
Дата:
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!


Re: DROP/IF_P EXISTS in gram.y

От
Andrew Dunstan
Дата:

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