The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/tsdb/grafana-postgresql-datasource/testdata/table/multi_stat2.sql

10 lines
437 B

-- SET TIME ZONE -7; select * from tbl; SET TIME ZONE DEFAULT; select * from tbl;
-- we are testing that you can run multiple statements in one "query",
-- and those statements have effects on each other, in this example
-- we load the same database-value in different time-zones,
-- we should receive different values.
CREATE TEMPORARY TABLE tbl (
d timestamp with time zone
);
INSERT INTO tbl (d) VALUES ('2024-04-03T12:43:25UTC')