Re: syntax for drop if exists

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: syntax for drop if exists
Дата
Msg-id 1221.1131938258@sss.pgh.pa.us
обсуждение исходный текст
Ответ на syntax for drop if exists  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: syntax for drop if exists  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> The MySQL syntax is actually "drop table if exists foo ...". 
> Implementing this unfortunately generates a shift/reduce conflict, 

What did you try exactly?  I don't see any fundamental reason for
a conflict here.  You may just need to rearrange the grammar to postpone
the reduction a bit.

> Or we could live with the conflict,

Utterly unacceptable; see previous discussions.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: MERGE vs REPLACE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: forcing returned values to be binary