mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 19:13:16 +08:00
The extension state is not easily accessible in release builds, which makes debugging issue with the loader very difficult. This commit introduces a new schema `_timescaledb_debug` and makes the function `ts_extension_get_state` available also in release builds as `_timescaledb_debug.extension_state`. See #1682
26 lines
760 B
SQL
26 lines
760 B
SQL
-- This file and its contents are licensed under the Apache License 2.0.
|
|
-- Please see the included NOTICE for copyright information and
|
|
-- LICENSE-APACHE for a copy of the license.
|
|
|
|
SET LOCAL search_path TO pg_catalog, pg_temp;
|
|
|
|
CREATE SCHEMA _timescaledb_catalog;
|
|
CREATE SCHEMA _timescaledb_functions;
|
|
CREATE SCHEMA _timescaledb_internal;
|
|
CREATE SCHEMA _timescaledb_cache;
|
|
CREATE SCHEMA _timescaledb_config;
|
|
CREATE SCHEMA timescaledb_experimental;
|
|
CREATE SCHEMA timescaledb_information;
|
|
CREATE SCHEMA _timescaledb_debug;
|
|
|
|
GRANT USAGE ON SCHEMA
|
|
_timescaledb_cache,
|
|
_timescaledb_catalog,
|
|
_timescaledb_functions,
|
|
_timescaledb_internal,
|
|
_timescaledb_config,
|
|
timescaledb_information,
|
|
timescaledb_experimental
|
|
TO PUBLIC;
|
|
|