mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 02:53:51 +08:00
Update scripts have so far been built by concatenating all the historical changes and code from previous versions, leading to bloated update scripts, complicated script build process, and the need to keep old C-functions in compat.c since those functions are referenced during updates. This change greatly simplifies the way update scripts are built, significantly reducing the size of update scripts (to basically only the changeset + current code), and removing the need for compat.c. A few principles of building scripts must be followed going forward, as discussed in sql/updates/README.md.
5 lines
226 B
SQL
5 lines
226 B
SQL
CREATE SCHEMA IF NOT EXISTS _timescaledb_catalog;
|
|
CREATE SCHEMA IF NOT EXISTS _timescaledb_internal;
|
|
CREATE SCHEMA IF NOT EXISTS _timescaledb_cache;
|
|
GRANT USAGE ON SCHEMA _timescaledb_catalog, _timescaledb_internal TO PUBLIC;
|