Re: subplan resets wrong hashtable - Mailing list pgsql-hackers

From Tom Lane
Subject Re: subplan resets wrong hashtable
Date
Msg-id 12420.1583003151@sss.pgh.pa.us
Whole thread Raw
In response to Re: subplan resets wrong hashtable  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> Right.  So the incorrect ResetTupleHashTable call is unreachable
> (and a look at the code coverage report confirms that).  The whole
> thing obviously is a bit hasty and unreviewed, but it doesn't have
> a live bug AFAICS ... or at least, if there's a bug, it's a memory
> leakage issue across repeat executions, not a crash hazard.

For the archives' sake: this *is* a memory leak, and we dealt with
it at 58c47ccfff20b8c125903482725c1dbfd30beade.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Broken resetting of subplan hash tables
Next
From: Chris Bandy
Date:
Subject: [PATCH] Add schema and table names to partition error