Re: FailedAssertion on partprune

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FailedAssertion on partprune
Дата
Msg-id 20180730232554.jxh67zgw6ts3xr44@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: FailedAssertion on partprune  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: FailedAssertion on partprune  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
On 2018-Jul-25, David Rowley wrote:

> Thinking again about the patch I submitted upthread; I wonder if it's
> actually possible to support pruning with Jamie's query. Without
> looking at the code, I don't quite see the reason that the
> sub-partitioned table wouldn't be correctly pruned by the run-time
> pruning code.  It could just be a matter of removing the failing
> Assert(). I'll do a bit more testing and confirm.

Not looking at the code right now either, but removing that assert and
then removing the TABLESAMPLE clause, the query returns identical
results with and without pruning, so maybe you're right.  No time for
further looking now.

(SELECT 'Jaime' <> 'Jamie' COLLATE es_EC)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Avoid extra Sort nodes between WindowAggs when sorting can bereused
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Recovery performance of standby for multiple concurrent truncateson large tables