Re: [BUGS] Beta 10 parser error for CREATE STATISTICS IF NOT EXISTS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Beta 10 parser error for CREATE STATISTICS IF NOT EXISTS
Дата
Msg-id 21458.1498010466@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Beta 10 parser error for CREATE STATISTICS IF NOT EXISTS  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-bugs
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes:
> On 2017/06/21 9:42, Bruno Wolff III wrote:
>> I'm not seeing an obvious error in my attempt to use CREATE STATISTICS IF
>> NOT EXISTS. Given this is new, maybe there is a bug in the parser.

> Looks like a documentation bug if the authors of the feature actually
> meant to implement the following syntax:
>   CREATE [ IF NOT EXISTS ] STATISTICS

Hm, that is what the grammar supports, but surely it's utterly
inconsistent with every other usage of IF NOT EXISTS.  Even if
this was intended and the docs were not, we should fix the grammar
to match the docs not vice versa.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [BUGS] Beta 10 parser error for CREATE STATISTICS IF NOT EXISTS
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUGS] Beta 10 parser error for CREATE STATISTICS IF NOT EXISTS