Re: [sqlsmith] Failed assertion in create_gather_path

Поиск
Список
Период
Сортировка
От Jeevan Chalke
Тема Re: [sqlsmith] Failed assertion in create_gather_path
Дата
Msg-id CAM2+6=X=yq-J6DUfO-KkumGZR1dcm065jDbow6cUGbP6HrO33w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [sqlsmith] Failed assertion in create_gather_path  (Andreas Seltenreich <seltenreich@gmx.de>)
Ответы Re: [sqlsmith] Failed assertion in create_gather_path  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Hi,

At some places, I have observed that we are adding a partial path even when rel's consider_parallel is false. Due to this, the partial path added has parallel_safe set to false and then later in create_gather_path() assertion fails.

Attached patch to fix that.


On Sun, Apr 8, 2018 at 12:26 AM, Andreas Seltenreich <seltenreich@gmx.de> wrote:
Tom Lane writes:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Andreas Seltenreich wrote:
>>> as of 039eb6e92f:
>>> TRAP: FailedAssertion("!(subpath->parallel_safe)", File: "pathnode.c", Line: 1813)
>
>> Uh, that's pretty strange -- that patch did not touch the planner at
>> all, and the relcache.c changes are pretty trivial.
>
> I don't think Andreas meant that the bug is necessarily new in 039eb6e92f,
> only that that's the version he happened to be testing.

Right.  I'm not testing often enough yet to be able to report on commit
granularity :-).  I'll try for a less ambiguos wording in future
reports.




--
Jeevan Chalke
Technical Architect, Product Development
EnterpriseDB Corporation
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: lazy detoasting
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: csv format for psql