From a2efe7962fe146efaa407217939f5cf77df8e568 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 31 Mar 2024 23:27:23 +0200 Subject: -fix drop syntax for partitioned tables --- contrib/ci/jobs/2-test/test.sh | 1 + contrib/gana | 2 +- src/exchangedb/0004-refunds.sql | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/ci/jobs/2-test/test.sh b/contrib/ci/jobs/2-test/test.sh index 6566e7e08..7cc8b8a9d 100755 --- 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/contrib/gana b/contrib/gana index ffd02aa14..d505fecdf 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit ffd02aa14f5c245b4d2454b2abef9ef43520a5b0 +Subproject commit d505fecdf8f1339f4115f10f1ae236da7cfea0ef diff --git a/src/exchangedb/0004-refunds.sql b/src/exchangedb/0004-refunds.sql index 71666d9db..eb9e7ad6e 100644 --- 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 || -- cgit v1.2.3