Re: [HACKERS] WITH clause in CREATE STATISTICS
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] WITH clause in CREATE STATISTICS |
| Дата | |
| Msg-id | 22269.1492726397@sss.pgh.pa.us обсуждение |
| Ответ на | [HACKERS] WITH clause in CREATE STATISTICS (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: [HACKERS] WITH clause in CREATE STATISTICS
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Simon just pointed out that having the WITH clause appear in the middle
> of the CREATE STATISTICS command looks odd; apparently somebody else
> already complained on list about the same. Other commands put the WITH
> clause at the end, so perhaps we should do likewise in the new command.
> Here's a patch to implement that. I verified that if I change
> qualified_name to qualified_name_list, bison does not complain about
> conflicts, so this new syntax should support extension to multiple
> relations without a problem.
Yeah, WITH is fully reserved, so as long as the clause looks like
WITH ( stuff... ) you're pretty much gonna be able to drop it
wherever you want.
> Discuss.
+1 for WITH at the end; the existing syntax looks weird to me too.
regards, tom lane
В списке pgsql-hackers по дате отправления: