citus/src
Jelte Fennema-Nio 316eaa5d8a Use an index to get FDWs that depend on extensions (#7574)
DESCRIPTION: Fix performance issue when distributing a table that
depends on an extension

When the database contains many objects this function would show up in
profiles because it was doing a sequence scan on pg_depend. And with
many objects pg_depend can get very large.

This starts using an index scan to only look for rows containing FDWs,
of which there are expected to be very few (often even zero).

(cherry picked from commit 16604a6601)
2024-04-16 17:46:42 +02:00
..
backend Use an index to get FDWs that depend on extensions (#7574) 2024-04-16 17:46:42 +02:00
include Speed up SequenceUsedInDistributedTable (#7579) 2024-04-16 17:46:42 +02:00
test Bump Citus version to 12.1.2 (#7504) 2024-02-14 08:41:15 +03:00