Skip to content

Commit

Permalink
added metadata table functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
espoonmasa committed Dec 11, 2023
1 parent 60b5126 commit 4976369
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions datastore/storagebackend/postgresql/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ func cleanup(db *sql.DB) error {
return fmt.Errorf("tx.Exec() failed: %v", err)
}

// commit transaction
if err = tx.Commit(); err != nil {
return fmt.Errorf("tx.Commit() failed: %v", err)
}

// DELETE FROM time_series WHERE <no FK refs from observation anymore
cmd = fmt.Sprintf(`
DELETE FROM time_series
Expand Down

0 comments on commit 4976369

Please sign in to comment.