On 2019-Jun-27, Amit Langote wrote:
> Anyway, the problem seems to use-after-close of a Relation pointer,
> which the attached patch fixes.
Indeed, thanks for tracking it down. Pushed. I couldn't resist the
temptation remove a no-longer-necessary tupdesc copy while at it.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services