Commit Graph

9 Commits (aa4c44b495d4cf66bc9909e564793c3e481bc366)

Author SHA1 Message Date
Sait Talha Nisanci aa4c44b495 Create CIMV related internal things in cimv_internal
When we create internal tables in citus_internal, a regular user cannot
really do that because they can't access citus_internal. Even if we
switch to extension owner, we will need to switch while also dropping
tables etc, which is not trivial and clear.

Hence cimv_internal schema is created and the owner of the CIMV will own
the tables in this schema, hence only they can access those tables.
2021-01-10 19:44:57 +03:00
Sait Talha Nisanci a35ac7c7d9 wip: table creations 2021-01-10 16:32:44 +03:00
Sait Talha Nisanci 6c9872d182 Use unique id as a prefix in CIMV creation
Relname itself is not unique across the database hence for internal CIMV
related tables we use a unique id prefix instead of just relname
so that the same mv in two different schemas don't cause overlap.
2021-01-04 21:45:46 +03:00
Marco Slot e3dcc278e0 Remove upgrade_to_reference_table UDF 2020-12-23 00:40:14 +01:00
Marco Slot 8e8adcd92a Harden citus_tables against node failure 2020-12-13 15:10:40 +01:00
Marco Slot c9b658daea Add a public.citus_tables view 2020-12-03 17:31:40 +01:00
Nils Dijk 7c891a01a9 create missing objects during upgrade path 2020-11-17 19:01:51 +01:00
Nils Dijk 213eb93e6d
make columnar compile and functionally working 2020-11-17 18:55:34 +01:00
Onur Tirtir 5e3dc9d707 Bump citus version to 10.0devel 2020-11-09 13:16:54 +03:00