-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove multinode functions from crossmodule struct
This commit removes the multinode specific entries from the cross module function struct. It also removes the function set_chunk_default_data_node
- Loading branch information
Showing
25 changed files
with
61 additions
and
2,002 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,13 +28,14 @@ SELECT pg_catalog.pg_extension_config_dump('_timescaledb_catalog.continuous_aggs | |
|
||
DROP VIEW IF EXISTS timescaledb_information.continuous_aggregates; | ||
|
||
-- create stub to not introduce shared library dependency | ||
CREATE FUNCTION @[email protected]_data_node( | ||
node_name NAME, | ||
if_exists BOOLEAN = FALSE, | ||
force BOOLEAN = FALSE, | ||
repartition BOOLEAN = TRUE, | ||
drop_database BOOLEAN = FALSE | ||
) RETURNS BOOLEAN AS '@MODULE_PATHNAME@', 'ts_data_node_delete' LANGUAGE C VOLATILE; | ||
) RETURNS BOOLEAN AS $$SELECT true;$$ LANGUAGE SQL VOLATILE; | ||
|
||
CREATE FUNCTION @[email protected]_telemetry_report() RETURNS jsonb | ||
AS '@MODULE_PATHNAME@', 'ts_telemetry_get_report_jsonb' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -380,7 +380,7 @@ GRANT SELECT ON _timescaledb_catalog.dimension TO PUBLIC; | |
|
||
-- end recreate _timescaledb_catalog.dimension table -- | ||
|
||
-- changes related to alter_data_node(): | ||
-- only creating stub here to not introduce shared library dependencies | ||
CREATE INDEX chunk_data_node_node_name_idx ON _timescaledb_catalog.chunk_data_node (node_name); | ||
CREATE FUNCTION @[email protected]_data_node( | ||
node_name NAME, | ||
|
@@ -389,7 +389,7 @@ CREATE FUNCTION @[email protected]_data_node( | |
port INTEGER = NULL, | ||
available BOOLEAN = NULL | ||
) RETURNS TABLE(node_name NAME, host TEXT, port INTEGER, database NAME, available BOOLEAN) | ||
AS '@MODULE_PATHNAME@', 'ts_data_node_alter' LANGUAGE C VOLATILE; | ||
AS $$ SELECT NULL::name,NULL::text,NULL::int,NULL::name,NULL::bool; $$ LANGUAGE SQL VOLATILE; | ||
|
||
-- | ||
-- Rebuild the catalog table `_timescaledb_catalog.continuous_agg` | ||
|
@@ -488,9 +488,9 @@ ALTER TABLE _timescaledb_catalog.continuous_agg_migrate_plan | |
|
||
ANALYZE _timescaledb_catalog.continuous_agg; | ||
|
||
-- changes related to drop_stale_chunks() | ||
-- only create stub here to not introduce shared library dependency | ||
CREATE FUNCTION _timescaledb_internal.drop_stale_chunks( | ||
node_name NAME, | ||
chunks integer[] = NULL | ||
) RETURNS VOID | ||
AS '@MODULE_PATHNAME@', 'ts_chunks_drop_stale' LANGUAGE C VOLATILE; | ||
AS '' LANGUAGE SQL VOLATILE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.