From 3dbe30e9fb36528245c2e104e38a667176e30a9c Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Thu, 9 Nov 2023 14:03:12 -0600 Subject: [PATCH] Stop if there's an error loading the db --- conversion/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conversion/Makefile b/conversion/Makefile index 7fdd55f..57363b4 100644 --- a/conversion/Makefile +++ b/conversion/Makefile @@ -111,8 +111,7 @@ restore: $(PSQL_DEPENDS) ( $(PSQL_SETUP) \ ./speedups.sh ; \ ./mung_dump.sh $(DATA_FILE) ; ) \ - | psql $(PSQL_ARGS) -# | psql $(PSQL_ARGS) $(PSQL_SINGLE_TRANS) --set=ON_ERROR_STOP=y + | psql $(PSQL_ARGS) --set=ON_ERROR_STOP=y ## grant_permissions Give readers and writers read permission to all tables. .PHONY: grant_permissions -- 2.34.1