From a9b42c481e08203f4408fdac669d178acd5c2bc8 Mon Sep 17 00:00:00 2001 From: Pieter Hollander Date: Thu, 22 Feb 2024 13:20:17 +0100 Subject: [PATCH] Disable create index as timescaledb doesn't seem to like it. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 200cc39..f4713ce 100644 --- a/main.go +++ b/main.go @@ -421,7 +421,7 @@ func connectToPostgreSQL(pgConnStr string) error { returning_l2 INT, returning_l3 INT ); - CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp); + -- CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp); `) if err != nil { log.Fatal("Error creating table:", err)