citus/src
Naisila Puka 498131b4f6 Use RelationGetPrimaryKeyIndex for citus catalog tables (#6262)
pg_dist_node and pg_dist_colocation have a primary key index, not a replica identity index.

Citus catalog tables are created in public schema, which has replica identity index by default 
as primary key index. Later the citus catalog tables are moved to pg_catalog schema.

During pg_upgrade, all tables are recreated, and given that pg_dist_colocation is found in
pg_catalog schema, it is recreated in that schema, and when it is recreated it doesn't
have a replica identity index, because catalog tables have no replica identity.

Further action:
Do we even need to acquire this lock on the primary key index?
Postgres doesn't acquire such locks on indexes before deleting catalog tuples.
Also, catalog tuples don't have replica identities by definition.
2022-09-22 12:50:11 +03:00
..
backend Use RelationGetPrimaryKeyIndex for citus catalog tables (#6262) 2022-09-22 12:50:11 +03:00
bin/pg_send_cancellation Make enterprise features open source 2022-06-16 08:09:45 +02:00
include Add an allow_unsafe_constraints flag for constraints without distribution column (#6237) 2022-08-25 16:13:07 +02:00
test Normalize messages from different libpq versions 2022-09-07 13:27:49 +02:00