From 581224dad835ffb30141e43ffcf0e1ff90990a51 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 6 Sep 2025 15:59:51 -0400 Subject: [PATCH] wrap in transaction --- tables/rebuild_targets.pg.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tables/rebuild_targets.pg.sql b/tables/rebuild_targets.pg.sql index 9224f59..4e3113b 100644 --- a/tables/rebuild_targets.pg.sql +++ b/tables/rebuild_targets.pg.sql @@ -1,4 +1,4 @@ - +BEGIN; DELETE FROM pricequote.target_prices_base; WITH @@ -25,3 +25,5 @@ SELECT * FROM expand; + +COMMIT; \ No newline at end of file