Lines Matching refs:relRelation
762 Relation relRelation; in copy_table_data() local
939 relRelation = table_open(RelationRelationId, RowExclusiveLock); in copy_table_data()
951 CatalogTupleUpdate(relRelation, &reltup->t_self, reltup); in copy_table_data()
957 table_close(relRelation, RowExclusiveLock); in copy_table_data()
997 Relation relRelation; in swap_relation_files() local
1008 relRelation = table_open(RelationRelationId, RowExclusiveLock); in swap_relation_files()
1170 indstate = CatalogOpenIndexes(relRelation); in swap_relation_files()
1171 CatalogTupleUpdateWithInfo(relRelation, &reltup1->t_self, reltup1, in swap_relation_files()
1173 CatalogTupleUpdateWithInfo(relRelation, &reltup2->t_self, reltup2, in swap_relation_files()
1321 table_close(relRelation, RowExclusiveLock); in swap_relation_files()
1438 Relation relRelation; in finish_heap_swap() local
1442 relRelation = table_open(RelationRelationId, RowExclusiveLock); in finish_heap_swap()
1452 CatalogTupleUpdate(relRelation, &reltup->t_self, reltup); in finish_heap_swap()
1454 table_close(relRelation, RowExclusiveLock); in finish_heap_swap()