mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
This changes the license text for SQL files to be identical with the license text for C files.
23 lines
581 B
SQL
23 lines
581 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.
|
|
|
|
\c template1 :ROLE_SUPERUSER
|
|
|
|
SET client_min_messages TO ERROR;
|
|
CREATE EXTENSION IF NOT EXISTS timescaledb;
|
|
RESET client_min_messages;
|
|
|
|
CREATE USER dump_unprivileged CREATEDB;
|
|
|
|
\c template1 dump_unprivileged
|
|
CREATE database dump_unprivileged;
|
|
|
|
\! utils/pg_dump_unprivileged.sh
|
|
|
|
\c template1 :ROLE_SUPERUSER
|
|
DROP EXTENSION timescaledb;
|
|
DROP DATABASE dump_unprivileged;
|
|
DROP USER dump_unprivileged;
|
|
|