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 is licensed under the Apache License, see LICENSE-APACHE
|
||||
-- at the top level directory of the TimescaleDB distribution.
|
||||
-- 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.
|
||||
|
||||
CREATE FUNCTION timescaledb_fdw_handler()
|
||||
RETURNS fdw_handler
|
||||
@ -16,4 +15,3 @@ LANGUAGE C STRICT;
|
||||
CREATE FOREIGN DATA WRAPPER timescaledb_fdw
|
||||
HANDLER timescaledb_fdw_handler
|
||||
VALIDATOR timescaledb_fdw_validator;
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
||||
SELECT * FROM create_hypertable('chunkapi', 'time', 'device', 2);
|
||||
NOTICE: adding not-null constraint to column "time"
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- Need to be super user to create extension and add servers
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||
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 is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- ===================================================================
|
||||
-- create fake fdw to create server and user mapping
|
||||
-- ===================================================================
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE FUNCTION _timescaledb_internal.test_remote_connection_cache()
|
||||
RETURNS void
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- ===================================================================
|
||||
-- create FDW objects
|
||||
-- ===================================================================
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
||||
RETURNS void
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- Need to be super user to create extension and add servers
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||
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 is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
||||
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 is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
CREATE TABLE chunkapi (time timestamptz, device int, temp float);
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
-- Need to be super user to create extension and add servers
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
|
||||
-- ===================================================================
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
-- ===================================================================
|
||||
-- create FDW objects
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE FUNCTION _timescaledb_internal.test_remote_txn_id()
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
-- Need to be super user to create extension and add servers
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER;
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Copyright (c) 2016-2018 Timescale, Inc. All Rights Reserved.
|
||||
--
|
||||
-- This file is licensed under the Timescale License,
|
||||
-- see LICENSE-TIMESCALE at the top of the tsl directory.
|
||||
-- This file and its contents are licensed under the Timescale License.
|
||||
-- Please see the included NOTICE for copyright information and
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE SERVER some_server FOREIGN DATA WRAPPER timescaledb_fdw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user