citus/src/backend/distributed/transaction
SaitTalhaNisanci 366461ccdb
Introduce cache entry/table utilities (#4132)
Introduce table entry utility functions

Citus table cache entry utilities are introduced so that we can easily
extend existing functionality with minimum changes, specifically changes
to these functions. For example IsNonDistributedTableCacheEntry can be
extended for citus local tables without the need to scan the whole
codebase and update each relevant part.

* Introduce utility functions to find the type of tables

A table type can be a reference table, a hash/range/append distributed
table. Utility methods are created so that we don't have to worry about
how a table is considered as a reference table etc. This also makes it
easy to extend the table types.

* Add IsCitusTableType utilities

* Rename IsCacheEntryCitusTableType -> IsCitusTableTypeCacheEntry

* Change citus table types in some checks
2020-09-02 22:26:05 +03:00
..
backend_data.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
citus_dist_stat_activity.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
distributed_deadlock_detection.c use PG_USED_FOR_ASSERTS_ONLY 2020-03-25 11:01:33 +03:00
lock_graph.c refactor around local group id checks 2020-03-05 20:20:41 +03:00
relation_access_tracking.c Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
remote_transaction.c Fix assertion error when rolling back to savepoint (#3868) 2020-06-30 11:31:46 +02:00
transaction_management.c Implement shared connection count reservation & enable `citus.max_shared_pool_size` for COPY 2020-08-03 18:51:40 +02:00
transaction_recovery.c Use CMDTAG_SELECT_COMPAT 2020-08-04 15:38:13 +03:00
worker_transaction.c address feedback 2020-07-13 19:45:02 +03:00