Skip to content

Commit 55686d3

Browse files
committed
Don't use partial xlog.
1 parent 493de28 commit 55686d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,13 +1351,13 @@ StreamLog(void *arg)
13511351
ctl.basedir = basedir;
13521352
ctl.stream_stop = stop_streaming;
13531353
ctl.standby_message_timeout = standby_message_timeout;
1354-
ctl.partial_suffix = ".partial";
1354+
ctl.partial_suffix = NULL;
13551355
ctl.synchronous = false;
13561356
ctl.mark_done = false;
13571357
ReceiveXlogStream(conn, &ctl);
13581358
#else
13591359
ReceiveXlogStream(conn, startpos, starttli, NULL, basedir,
1360-
stop_streaming, standby_message_timeout, ".partial",
1360+
stop_streaming, standby_message_timeout, NULL,
13611361
false, false);
13621362
#endif
13631363

sql/restore.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ psql --no-psqlrc -p ${TEST_PGPORT} -d pgbench -c "SELECT * FROM pgbench_branches
183183
pg_ctl stop -m immediate > /dev/null 2>&1
184184
pg_arman restore -B ${BACKUP_PATH} --stream --verbose >> ${TEST_BASE}/TEST-0011-run.out 2>&1;echo $?
185185
pg_ctl start -w -t 600 > /dev/null 2>&1
186+
sleep 5
186187
psql --no-psqlrc -p ${TEST_PGPORT} -d pgbench -c "SELECT * FROM pgbench_branches;" > ${TEST_BASE}/TEST-0011-after.out
187188
diff ${TEST_BASE}/TEST-0011-before.out ${TEST_BASE}/TEST-0011-after.out
188189
echo ''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy