Skip to content

Commit

Permalink
Fix casing in SQL license header to be consistent with elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
JLockerman authored and RobAtticus committed Dec 4, 2018
1 parent e349f7f commit c960fc2
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion scripts/dump_meta_data.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This script will dump relevant meta data from internal TimescaleDB tables
-- that can help our engineers trouble shoot.
Expand Down
2 changes: 1 addition & 1 deletion scripts/sql_license.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

2 changes: 1 addition & 1 deletion sql/aggregates.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file is meant to contain aggregate functions that need to be created only
-- once and not recreated during updates.
Expand Down
2 changes: 1 addition & 1 deletion sql/bgw_scheduler.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.restart_background_workers()
RETURNS BOOL
Expand Down
2 changes: 1 addition & 1 deletion sql/bookend.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.first_sfunc(internal, anyelement, "any")
RETURNS internal
Expand Down
2 changes: 1 addition & 1 deletion sql/cache.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file contains infrastructure for cache invalidation of TimescaleDB
-- metadata caches kept in C. Please look at cache_invalidate.c for a
Expand Down
2 changes: 1 addition & 1 deletion sql/chunk.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.dimension_calculate_default_range_open(
dimension_value BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion sql/chunk_constraint.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- Creates a constraint on a chunk.
CREATE OR REPLACE FUNCTION _timescaledb_internal.chunk_constraint_add_table_constraint(
Expand Down
2 changes: 1 addition & 1 deletion sql/ddl_api.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file defines DDL functions for adding and manipulating hypertables.

Expand Down
2 changes: 1 addition & 1 deletion sql/ddl_internal.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.dimension_get_time(
hypertable_id INT
Expand Down
2 changes: 1 addition & 1 deletion sql/ddl_triggers.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

DROP EVENT TRIGGER IF EXISTS timescaledb_ddl_command_end;

Expand Down
2 changes: 1 addition & 1 deletion sql/histogram.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.hist_sfunc (state INTERNAL, val DOUBLE PRECISION, MIN DOUBLE PRECISION, MAX DOUBLE PRECISION, nbuckets INTEGER)
RETURNS INTERNAL
Expand Down
2 changes: 1 addition & 1 deletion sql/hypertable.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- Trigger that blocks INSERTs on the hypertable's root table
CREATE OR REPLACE FUNCTION _timescaledb_internal.insert_blocker() RETURNS trigger
Expand Down
2 changes: 1 addition & 1 deletion sql/installation_metadata.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.generate_uuid() RETURNS UUID
AS '@MODULE_PATHNAME@', 'ts_uuid_generate' LANGUAGE C VOLATILE STRICT;
Expand Down
2 changes: 1 addition & 1 deletion sql/partitioning.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- Deprecated partition hash function
CREATE OR REPLACE FUNCTION _timescaledb_internal.get_partition_for_key(val anyelement)
Expand Down
2 changes: 1 addition & 1 deletion sql/pre_install/bgw_scheduler_startup.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.restart_background_workers()
RETURNS BOOL
Expand Down
2 changes: 1 addition & 1 deletion sql/pre_install/schemas.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE SCHEMA IF NOT EXISTS _timescaledb_catalog;
CREATE SCHEMA IF NOT EXISTS _timescaledb_internal;
Expand Down
2 changes: 1 addition & 1 deletion sql/pre_install/tables.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

--NOTICE: UPGRADE-SCRIPT-NEEDED contents in this file are not auto-upgraded.

Expand Down
2 changes: 1 addition & 1 deletion sql/schema_info.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file contains functions related to getting information about the
-- schema of a hypertable, including columns, their types, etc.
Expand Down
2 changes: 1 addition & 1 deletion sql/size_utils.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file contains utility functions to get the relation size
-- of hypertables, chunks, and indexes on hypertables.
Expand Down
2 changes: 1 addition & 1 deletion sql/time_bucket.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- time_bucket returns the left edge of the bucket where ts falls into.
-- Buckets span an interval of time equal to the bucket_width and are aligned with the epoch.
Expand Down
2 changes: 1 addition & 1 deletion sql/updates/pre-update.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file is always prepended to all upgrade scripts.

Expand Down
2 changes: 1 addition & 1 deletion sql/util_internal_table_ddl.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file contains functions associated with creating new
-- hypertables.
Expand Down
2 changes: 1 addition & 1 deletion sql/util_time.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

-- This file contains utilities for time conversion.
CREATE OR REPLACE FUNCTION _timescaledb_internal.to_microseconds(ts TIMESTAMPTZ) RETURNS BIGINT
Expand Down
2 changes: 1 addition & 1 deletion sql/version.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- 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.
-- at the top level directory of the TimescaleDB distribution.

CREATE OR REPLACE FUNCTION _timescaledb_internal.get_git_commit() RETURNS TEXT
AS '@MODULE_PATHNAME@', 'ts_get_git_commit' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
Expand Down
2 changes: 1 addition & 1 deletion test/expected/dump_meta.out
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ INSERT 0 1
-- 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.
-- at the top level directory of the TimescaleDB distribution.
-- This script will dump relevant meta data from internal TimescaleDB tables
-- that can help our engineers trouble shoot.
--
Expand Down

0 comments on commit c960fc2

Please sign in to comment.