Re: Proposal: Progressive explain - Mailing list pgsql-hackers

From Rafael Thofehrn Castro
Subject Re: Proposal: Progressive explain
Date
Msg-id CAG0ozMqDBp7ubg96ukY8nbAGb6aTsLxDVQ-q-1Gv6UAe-PW-AA@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: Progressive explain  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Proposal: Progressive explain
List pgsql-hackers
> I haven't looked into the code yet, but when I ran below commands during
> make installcheck, there was an error and an assertion failure

Thanks for the report. I actually made a nasty mistake in the last
patch after code refactoring, which is to not properly check that
a QueryDesc is already being tracked. So every subquery call
in the same query is allocating DSAs and those segments are not
being properly cleared. So the patch is broken and probably explains 
your crashes.

Just made a 1 line fix and make installcheck looks clean now. Will
do more tests before sending another version.

pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Using read stream in autoprewarm
Next
From: Tom Lane
Date:
Subject: Re: SQLFunctionCache and generic plans