File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ notifications:
2121
2222env :
2323 - PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=tap
24+ - PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=tap MODE=legacy
2425 - PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=all
2526 - PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=test_ptrack_multiple_segments TEST_REPEATS=5
26- - PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=test_ptrack_uncommitted_xact TEST_REPEATS=15
Original file line number Diff line number Diff line change 33# unused methods to do not spoil the report.
44ignore :
55 - " **/datapagemap.*"
6+ - " **/*datapagemap*"
7+ - " datapagemap.*"
8+ - " datapagemap.c"
9+ - " datapagemap.h"
Original file line number Diff line number Diff line change 44# Copyright (c) 2019-2020, Postgres Professional
55#
66
7-
87PG_SRC=$PWD /postgres
98status=0
109
11- # # Here PG_VERSION is provided by postgres:X-alpine docker image
1210# curl "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" -o postgresql.tar.bz2
1311# echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -
1412
@@ -36,7 +34,11 @@ echo "############### Applying ptrack patch"
3634git apply -v -3 ../patches/$PG_BRANCH -ptrack-core.diff
3735
3836echo " ############### Compiling Postgres"
39- ./configure --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
37+ if [ " $TEST_CASE " = " tap" ] && [ " $MODE " = " legacy" ]; then
38+ ./configure CFLAGS=' -DEXEC_BACKEND' --disable-atomics --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
39+ else
40+ ./configure --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
41+ fi
4042make -s -j$( nproc) install
4143make -s -j$( nproc) -C contrib/ install
4244
You can’t perform that action at this time.
0 commit comments