Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST
Дата
Msg-id 1168159641.3951.44.camel@silverbirch.site
обсуждение исходный текст
Ответ на Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 2007-01-06 at 13:05 -0500, Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > Presumably you could put extra grammar rules in to throw errors when you
> > see FROM NULLS FIRST?
> 
> It'll throw an error just fine without any extra rules, because there
> won't be any production allowing the NULLS_FIRST pseudo-token there.
> You already see this in 8.2:
> 
> regression=# select * from with cascaded;
> ERROR:  syntax error at or near "cascaded"
> LINE 1: select * from with cascaded;
>                            ^

OK, Sounds good.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: [PATCHES] COPY with no WAL, in certain circumstances
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] COPY with no WAL, in certain circumstances