Re: Processing long AND/OR lists

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Processing long AND/OR lists
Дата
Msg-id 51A22B0A.406@agliodbs.com
обсуждение исходный текст
Ответ на Processing long AND/OR lists  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: Processing long AND/OR lists
Список pgsql-hackers
On 05/25/2013 09:56 AM, Gurjeet Singh wrote:
> When Postgres encounters a long list of AND/OR chains, it errors out at
> check_stack_depth() after a limit of few thousand. At around 10,000
> elements, the recursion at assign_expr_collations() causes the error. But
> at a little higher element count, around 15,000, the recursion check errors
> out a little earlier, in the stack around transformAExprAnd(). The test
> queries were generated using the attached test.sh script.

***15,000***?  I'd say that someone has an application design issue.

Fixing the stack overflow is a good thing, but that query is never going
to return ...

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Planning incompatibilities for Postgres 10.0
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [BUGS] COPY .... (FORMAT binary) syntax doesn't work