Re: [SQL] WHERE parent IN (0,-1)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [SQL] WHERE parent IN (0,-1)
Дата
Msg-id 379FCA36.8DE4CC1F@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [SQL] WHERE parent IN (0,-1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
> >> It's a grammar problem.  in_expr_nodes and not_in_expr_nodes expect
> >> the elements of the IN-list to be AexprConst ... I wonder why not
> >> a_expr instead?  Might be a reduce conflict, but I bet we could at
> >> least use b_expr.  Thomas, any comments?
> Indeed, there is no reduce conflict created by using a_expr, so I went
> ahead and committed it.  Also tidied the list-generating code a bit.

Great. Did you fix all the places where IN (values) is allowed? I was
doing that, but will merge your fixes...
                - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: "Inform(ñËÕÔÓËÜÎÅÒÇÏ)"
Дата:
Сообщение: Form making with psql and php.cgi
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] COALESCE() bug?