Re: BUG #15565: truncate bug with tables which have temp table inherited

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: David Rowley <david.rowley@2ndquadrant.com>, digoal@126.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Date: 2018-12-27T01:20:26Z
Lists: pgsql-bugs
On Wed, Dec 26, 2018 at 04:54:08PM +0900, Michael Paquier wrote:
> Okay, let's do as you suggest for all these things.  Thanks for
> looking at the patch set.  I will try to finish wrapping that stuff
> tomorrow, back-patching the tests on the way.

And committed down to 9.4.
--
Michael

Commits

  1. Ignore inherited temp relations from other sessions when truncating