File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ notifications:
21
21
22
22
env :
23
23
- 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
24
25
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=all
25
26
- 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 3
3
# unused methods to do not spoil the report.
4
4
ignore :
5
5
- " **/datapagemap.*"
6
+ - " **/*datapagemap*"
7
+ - " datapagemap.*"
8
+ - " datapagemap.c"
9
+ - " datapagemap.h"
Original file line number Diff line number Diff line change 4
4
# Copyright (c) 2019-2020, Postgres Professional
5
5
#
6
6
7
-
8
7
PG_SRC=$PWD /postgres
9
8
status=0
10
9
11
- # # Here PG_VERSION is provided by postgres:X-alpine docker image
12
10
# curl "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" -o postgresql.tar.bz2
13
11
# echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -
14
12
@@ -36,7 +34,11 @@ echo "############### Applying ptrack patch"
36
34
git apply -v -3 ../patches/$PG_BRANCH -ptrack-core.diff
37
35
38
36
echo " ############### 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
40
42
make -s -j$( nproc) install
41
43
make -s -j$( nproc) -C contrib/ install
42
44
You can’t perform that action at this time.
0 commit comments