citus/src/backend/distributed
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
..
commands Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
connection adapt recently added code for pg13 2020-08-04 15:18:27 +03:00
deparser Add ruleutils changes from 3977 and 4011 2020-08-04 15:38:13 +03:00
executor Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
metadata Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
operations Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
planner Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
progress Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
relay Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
sql Adds support for table undistribution 2020-08-05 14:36:03 +03:00
test Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
transaction Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
utils Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
worker Use table_openXXX methods in the codebase 2020-08-04 15:10:22 +03:00
.gitignore Change SQL migration build process for easier reviews (#2951) 2019-09-13 18:44:27 +02:00
Makefile Introduce new make targets for downgrade scripts 2020-07-14 13:10:18 +03:00
citus.control Bump citus version to 9.5devel 2020-07-01 14:46:55 +03:00
safeclib Compile safestringlib using regular configure 2020-03-19 11:52:20 +01:00
shared_library_init.c Hide `citus.subquery_pushdown` flag and NOTICE when enabled (#4124) 2020-08-28 14:53:09 +02:00