mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-28 01:30:29 +08:00
- Directory structure now matches common practices - Regression tests now run with pg_regress via the PGXS infrastructure. - Unit tests do not integrate well with pg_regress and have to be run separately. - Docker functionality is separate from main Makefile. Run with `make -f docker.mk` to build and `make -f docker.mk run` to run the database in a container.
14 lines
536 B
SQL
14 lines
536 B
SQL
set log_min_messages to DEBUG1;
|
|
set client_min_messages to DEBUG1;
|
|
\COPY "33_testNs" FROM 'import_data/batch1_dev1.tsv' NULL AS '';
|
|
\COPY "33_testNs" FROM 'import_data/batch1_dev2.tsv' NULL AS '';
|
|
\COPY "33_testNs" FROM 'import_data/batch2_dev1.tsv' NULL AS '';
|
|
CREATE TABLE "public"."chunk_test"(
|
|
time BIGINT,
|
|
metric INTEGER,
|
|
device_id TEXT
|
|
);
|
|
|
|
SELECT * FROM create_hypertable('"public"."chunk_test"', 'time', 'device_id', chunk_size_bytes => 10000);
|
|
INSERT INTO chunk_test VALUES(1, 1, 'dev1');
|