mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-19 20:24:46 +08:00
Change license header to new format in SQL files
The license header for SQL test files has been updated, but some tests haven't had this new header applied. This change makes sure the new header is applied to all test files.
This commit is contained in:
parent
882c1f17f0
commit
3779af400d
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Apache License 2.0.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Apache License, see LICENSE-APACHE
|
-- LICENSE-APACHE for a copy of the license.
|
||||||
-- at the top level directory of the TimescaleDB distribution.
|
|
||||||
|
|
||||||
CREATE FUNCTION timescaledb_fdw_handler()
|
CREATE FUNCTION timescaledb_fdw_handler()
|
||||||
RETURNS fdw_handler
|
RETURNS fdw_handler
|
||||||
@ -16,4 +15,3 @@ LANGUAGE C STRICT;
|
|||||||
CREATE FOREIGN DATA WRAPPER timescaledb_fdw
|
CREATE FOREIGN DATA WRAPPER timescaledb_fdw
|
||||||
HANDLER timescaledb_fdw_handler
|
HANDLER timescaledb_fdw_handler
|
||||||
VALIDATOR timescaledb_fdw_validator;
|
VALIDATOR timescaledb_fdw_validator;
|
||||||
|
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
||||||
SELECT * FROM create_hypertable('chunkapi', 'time', 'device', 2);
|
SELECT * FROM create_hypertable('chunkapi', 'time', 'device', 2);
|
||||||
NOTICE: adding not-null constraint to column "time"
|
NOTICE: adding not-null constraint to column "time"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
-- Need to be super user to create extension and add servers
|
-- Need to be super user to create extension and add servers
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||||
GRANT USAGE ON FOREIGN DATA WRAPPER timescaledb_fdw TO :ROLE_DEFAULT_PERM_USER;
|
GRANT USAGE ON FOREIGN DATA WRAPPER timescaledb_fdw TO :ROLE_DEFAULT_PERM_USER;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- create fake fdw to create server and user mapping
|
-- create fake fdw to create server and user mapping
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
CREATE FUNCTION _timescaledb_internal.test_remote_connection_cache()
|
CREATE FUNCTION _timescaledb_internal.test_remote_connection_cache()
|
||||||
RETURNS void
|
RETURNS void
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- create FDW objects
|
-- create FDW objects
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
||||||
RETURNS void
|
RETURNS void
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
-- Need to be super user to create extension and add servers
|
-- Need to be super user to create extension and add servers
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||||
GRANT USAGE ON FOREIGN DATA WRAPPER timescaledb_fdw TO :ROLE_DEFAULT_PERM_USER;
|
GRANT USAGE ON FOREIGN DATA WRAPPER timescaledb_fdw TO :ROLE_DEFAULT_PERM_USER;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
||||||
CREATE FOREIGN TABLE test_ft (c0 int, c1 varchar(10)) SERVER some_server;
|
CREATE FOREIGN TABLE test_ft (c0 int, c1 varchar(10)) SERVER some_server;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
-- Need to be super user to create extension and add servers
|
-- Need to be super user to create extension and add servers
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- create FDW objects
|
-- create FDW objects
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
-- Need to be super user to create extension and add servers
|
-- Need to be super user to create extension and add servers
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
-- This file and its contents are licensed under the Timescale License.
|
||||||
--
|
-- Please see the included NOTICE for copyright information and
|
||||||
-- This file is licensed under the Timescale License,
|
-- LICENSE-TIMESCALE for a copy of the license.
|
||||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
|
||||||
|
|
||||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||||
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user