commit a2efe7962fe146efaa407217939f5cf77df8e568
parent 517876451e1a40ca18a1860fb1fa4088f3e0408c
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 31 Mar 2024 23:27:23 +0200
-fix drop syntax for partitioned tables
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/ci/jobs/2-test/test.sh b/contrib/ci/jobs/2-test/test.sh
@@ -10,6 +10,7 @@ apt-get upgrade -yqq
--disable-doc
nump=$(grep processor /proc/cpuinfo | wc -l)
+make clean
make -j$(( $nump / 2 ))
make install
diff --git a/src/exchangedb/0004-refunds.sql b/src/exchangedb/0004-refunds.sql
@@ -12,7 +12,7 @@ BEGIN
EXECUTE FORMAT (
'ALTER TABLE ' || table_name ||
- ' DROP CONSTRAINT refunds_pkey'
+ ' DROP CONSTRAINT ' || table_name || '_pkey'
);
EXECUTE FORMAT (
'ALTER TABLE ' || table_name ||