Re: ATTACH PARTITION cost grows linearly with pg_constraint size
(seqscan in CloneFkReferenced), much worse since not-null constraints are in
pg_constraint (PG 18)
From:
Manu <manuelreyesbravo(at)gmail(dot)com>
To:
Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc:
Bernhard Wonisch <bernhard(dot)wonisch(at)gmx(dot)at>,
pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject:
Re: ATTACH PARTITION cost grows linearly with pg_constraint size
(seqscan in CloneFkReferenced), much worse since not-null constraints are in
pg_constraint (PG 18)
v3 attached, rebased on current master for CF 7365. The only change from v2 is that it no longer bumps catversion, which was the conflict; that's left to the committer. make check passes.