Re: Huge memory consumption on partitioned table with FKs
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>
Cc: Amit Langote <amitlangote09@gmail.com>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
keisuke kuroda <keisuke.kuroda.3862@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
tatsuhito.kasahara.rd@hco.ntt.co.jp
Date: 2021-03-11T17:44:37Z
Lists: pgsql-hackers
I wrote: > Now, maybe it's a coincidence that husky failed on a > partitioned-foreign-key test right after this patch went in, but I bet > not. Since husky runs CLOBBER_CACHE_ALWAYS, it looks to me like we've > overlooked some cache-reset scenario or other. After reproducing it here, that *is* a coincidence. I shall now go beat up on the correct blame-ee, instead. regards, tom lane
Commits
-
Avoid creating duplicate cached plans for inherited FK constraints.
- c3ffe3486368 14.0 landed