Ahmet Gedemenli
2881572fb0
Add test for create_distributed_table
2021-09-15 15:13:34 +03:00
Ahmet Gedemenli
8b797dec05
Style
2021-09-14 13:00:56 +03:00
Ahmet Gedemenli
d2c0027f5d
Add tests for partitioned citus local tables
2021-09-14 13:00:56 +03:00
Ahmet Gedemenli
8f95d9c6aa
Remove failing partition tests
2021-09-14 12:59:45 +03:00
Sait Talha Nisanci
b16dadbe7c
Avoid NOTICE message to avoid an alternative output with pg14
2021-09-03 15:41:28 +03:00
Hanefi Onaldi
878513f325
Remove all occurences of replication_model GUC
2021-05-21 16:14:59 +03:00
Onur Tirtir
ec7ab68f3b
Test adding local table with long name to metadata
2021-02-10 18:05:04 +03:00
Onur Tirtir
3a403090fd
Disallow adding local table with identity column to metadata ( #4633 )
...
pg_get_tableschemadef_string doesn't know how to deparse identity
columns so we cannot reflect those columns when creating shell
relation.
For this reason, we don't allow adding local tables -having identity cols-
to metadata.
2021-02-03 19:05:17 +03:00
Onur Tirtir
bb5962ee79
Early error out when creating citus local from a temp table ( #4592 )
2021-01-28 14:18:06 +03:00
Onur Tirtir
dfcdccd0e7
Rename udf in regression tests (as per prev commit)
2021-01-27 15:52:37 +03:00
Ahmet Gedemenli
e99f052904
Fix index renaming when creating citus local tables
2021-01-26 15:52:48 +03:00
Onur Tirtir
941c8fbf32
Automatically undistribute citus local tables when no more fkeys with reference tables ( #4538 )
2021-01-22 18:15:41 +03:00
Ahmet Gedemenli
3ac30ef9d8
Merge branch 'master' into remove-deprecated-gucs-udfs
2021-01-22 13:06:13 +03:00
Ahmet Gedemenli
89a6fe83f7
Replace to update_distributed_table_colocation for tests
2021-01-20 17:30:06 +03:00
Ahmet Gedemenli
2fa060a32d
Fix bug creating citus local table with stats
2021-01-20 17:17:13 +03:00
Hadi Moshayedi
8a5b6a43fc
Normalize citus_local_tables
2021-01-19 15:56:42 -08:00
Onur Tirtir
e718d24868
Add support for CREATE TABLE commands defining foreign keys
2021-01-15 17:46:06 +03:00
Onur Tirtir
36b418982f
Add support for ALTER TABLE commands defining foreign keys
2021-01-14 17:12:00 +03:00
Marco Slot
e3dcc278e0
Remove upgrade_to_reference_table UDF
2020-12-23 00:40:14 +01:00
Onur Tirtir
d81559b7f8
Use "table" instead of "reference table" in sequential truncate log ( #4164 )
...
We might get this debug message for citus local tables as well
2020-09-17 14:37:36 +03:00
Onur Tirtir
4118560b75
Prevent citus local table creation from a catalog table ( #4158 )
2020-09-15 14:30:48 +03:00
Onur Tirtir
9a56c22917
Add udf tests with citus local tables ( #4154 )
2020-09-11 12:36:53 +03:00
Onur Tirtir
3a73fba810
Apply planner changes for citus local tables
2020-09-09 11:51:18 +03:00
Onur Tirtir
a58a4395ab
Extend citus local table utility command support
...
This commit brings following features:
Foreign key support from citus local tables to reference tables
* Foreign key support from reference tables to citus local tables
(only with RESTRICT & NO ACTION behavior)
* ALTER TABLE ENABLE/DISABLE trigger command support
* CREATE/DROP/ALTER trigger command support
and disallows:
* ALTER TABLE ATTACH/DETACH PARTITION commands
* CREATE TABLE <postgres table> ATTACH PARTITION <citus local table>
commands
* Foreign keys from postgres tables to citus local tables
(the other way was already disallowed)
for citus local tables.
2020-09-09 11:50:55 +03:00
Onur Tirtir
17cc810372
Implement "citus local table" creation logic
2020-09-09 11:50:48 +03:00