mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 02:23:49 +08:00
Bump year in copyright information to 2022 and adjust same scripts to reference NOTICE that didn't have the reference yet. This patch also removes orphaned test/expected/utils.out.
19 lines
649 B
SQL
19 lines
649 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.
|
|
|
|
DROP DATABASE IF EXISTS test;
|
|
CREATE DATABASE test;
|
|
\c test
|
|
\timing
|
|
|
|
DROP EXTENSION IF EXISTS timescaledb CASCADE;
|
|
CREATE EXTENSION timescaledb;
|
|
|
|
SELECT pg_backend_pid();
|
|
|
|
CREATE TABLE test_hyper (i bigint, j double precision, k bigint, ts timestamp);
|
|
SELECT create_hypertable('test_hyper', 'i', chunk_time_interval=>10);
|
|
|
|
INSERT INTO test_hyper SELECT random()*100, random()*100, x*10, _timescaledb_internal.to_timestamp(x) FROM generate_series(1,100000000) AS x;
|