Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite101bfd

Browse files
committed
Fix incorrect PG_PROBACKUP_PTRACK definition in travis tests (led to the inability to run ptraсk tests)
1 parent0699429 commite101bfd

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

‎.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ env:
3434
-PG_VERSION=10 PG_BRANCH=REL_10_STABLE
3535
-PG_VERSION=9.6 PG_BRANCH=REL9_6_STABLE
3636
-PG_VERSION=9.5 PG_BRANCH=REL9_5_STABLE
37-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=archive
37+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=archive
3838
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=backup
3939
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=catchup
40-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=compression
41-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=delta
42-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=locking
40+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=compression
41+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=delta
42+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=locking
4343
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=merge
44-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=page
44+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=page
4545
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=ptrack
4646
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=replica
47-
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=off MODE=retention
47+
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=OFF MODE=retention
4848
# - PG_VERSION=13 PG_BRANCH=REL_13_STABLE PTRACK_PATCH_PG_BRANCH=REL_13_STABLE MODE=restore
4949

5050
jobs:

‎travis/make_dockerfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -z ${MODE+x} ]; then
1515
fi
1616

1717
if [-z${PTRACK_PATCH_PG_BRANCH+x} ];then
18-
PTRACK_PATCH_PG_BRANCH=off
18+
PTRACK_PATCH_PG_BRANCH=OFF
1919
fi
2020

2121
if [-z${PGPROBACKUP_GDB+x} ];then

‎travis/run_tests.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
#
4-
# Copyright (c) 2019-2020, Postgres Professional
4+
# Copyright (c) 2019-2022, Postgres Professional
55
#
66
set -xe
77

@@ -33,18 +33,18 @@ echo "############### Getting Postgres sources:"
3333
git clone https://github.com/postgres/postgres.git -b$PG_BRANCH --depth=1
3434

3535
# Clone ptrack
36-
if ["$PTRACK_PATCH_PG_BRANCH"!="off" ];then
36+
if ["$PTRACK_PATCH_PG_BRANCH"!="OFF" ];then
3737
git clone https://github.com/postgrespro/ptrack.git -b master --depth=1
38-
export PG_PROBACKUP_PTRACK=on
38+
export PG_PROBACKUP_PTRACK=ON
3939
else
40-
export PG_PROBACKUP_PTRACK=off
40+
export PG_PROBACKUP_PTRACK=OFF
4141
fi
4242

4343

4444
# Compile and install Postgres
4545
echo"############### Compiling Postgres:"
4646
cd postgres# Go to postgres dir
47-
if ["$PG_PROBACKUP_PTRACK"="on" ];then
47+
if ["$PG_PROBACKUP_PTRACK"="ON" ];then
4848
git apply -3 ../ptrack/patches/${PTRACK_PATCH_PG_BRANCH}-ptrack-core.diff
4949
fi
5050
CFLAGS="-O0" ./configure --prefix=$PGHOME --enable-debug --enable-cassert --enable-depend --enable-tap-tests
@@ -59,7 +59,7 @@ export PATH=$PGHOME/bin:$PATH
5959
export LD_LIBRARY_PATH=$PGHOME/lib
6060
export PG_CONFIG=$(which pg_config)
6161

62-
if ["$PG_PROBACKUP_PTRACK"="on" ];then
62+
if ["$PG_PROBACKUP_PTRACK"="ON" ];then
6363
echo"############### Compiling Ptrack:"
6464
make USE_PGXS=1 -C ../ptrack install
6565
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp