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

Commit8610864

Browse files
committed
Add PG_TEST_PG_COMBINEBACKUP_MODE to CI tasks
The environment variable PG_TEST_PG_COMBINEBACKUP_MODE has beenavailable since35a7b28, but was not set by any built-in CI tasks.This commit modifies two of the CI tasks to use the alternative modes,to exercise the pg_combinebackup code.The Linux task uses --copy-file-range, macOS uses --clone.This is not an exhaustive test of combinations. The supported modesdepend on the operating system and filesystem, and it would be nice totest all supported combinations. Right now we have just one task foreach OS, and it doesn't seem worth adding more just for this.Reported-by: Peter EisentrautReviewed-by: Peter EisentrautDiscussion:https://postgr.es/m/48da4a1f-ccd9-4988-9622-24f37b1de2b4%40eisentraut.org
1 parent390b3cb commit8610864

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎.cirrus.tasks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ task:
321321

322322
env:
323323
SANITIZER_FLAGS:-fsanitize=address
324+
PG_TEST_PG_COMBINEBACKUP_MODE:--copy-file-range
324325

325326
# Normally, the "relation segment" code basically has no coverage in our
326327
# tests, because we (quite reasonably) don't generate tables large
@@ -435,6 +436,7 @@ task:
435436
CXXFLAGS:-Og -ggdb
436437

437438
PG_TEST_PG_UPGRADE_MODE:--clone
439+
PG_TEST_PG_COMBINEBACKUP_MODE:--clone
438440

439441
<<:*macos_task_template
440442

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp