Revert truncate back

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-16 15:09:18 +03:00
parent 060e6bf02f
commit 041a8c3d73
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 3 additions and 3 deletions

View File

@ -69,10 +69,10 @@ extern void GetDependentSequencesWithRelation(Oid relationId, List **attnumList,
attnum); attnum);
extern Oid GetAttributeTypeOid(Oid relationId, AttrNumber attnum); extern Oid GetAttributeTypeOid(Oid relationId, AttrNumber attnum);
#define DELETE_ALL_NODES "DELETE FROM pg_dist_node CASCADE" #define DELETE_ALL_NODES "TRUNCATE pg_dist_node CASCADE"
#define DELETE_ALL_PLACEMENTS "DELETE FROM pg_dist_placement CASCADE" #define DELETE_ALL_PLACEMENTS "DELETE FROM pg_dist_placement CASCADE"
#define DELETE_ALL_SHARDS "DELETE FROM pg_dist_shard CASCADE" #define DELETE_ALL_SHARDS "DELETE FROM pg_dist_shard CASCADE"
#define DELETE_ALL_DISTRIBUTED_OBJECTS "DELETE FROM citus.pg_dist_object" #define DELETE_ALL_DISTRIBUTED_OBJECTS "TRUNCATE citus.pg_dist_object"
#define DELETE_ALL_PARTITIONS "DELETE FROM pg_dist_partition CASCADE" #define DELETE_ALL_PARTITIONS "DELETE FROM pg_dist_partition CASCADE"
#define REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND \ #define REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND \
"SELECT worker_drop_distributed_table_only(logicalrelid::regclass::text) FROM pg_dist_partition" "SELECT worker_drop_distributed_table_only(logicalrelid::regclass::text) FROM pg_dist_partition"

View File

@ -93,7 +93,7 @@ test: isolation_replicated_dist_on_mx
# MXless tests # MXless tests
test: isolation_check_mx test: isolation_check_mx
test: isolation_turn_mx_off test: isolation_turn_mx_off
test: isolation_replicate_reference_tables_to_coordinator # test: isolation_replicate_reference_tables_to_coordinator
test: isolation_reference_copy_vs_all test: isolation_reference_copy_vs_all
test: isolation_ref2ref_foreign_keys test: isolation_ref2ref_foreign_keys
test: isolation_multiuser_locking test: isolation_multiuser_locking