Skip to content

Commit fa7036d

Browse files
committed
Use tempdir_short instead of tempdir.
After cd64dc4, a significant percentage of the buildfarm got unhappy, because pg_basebackup chokes if it tries to create a tarfile with symlink more than 99 characters in length. To try to fix that problem, use tempdir_short instead of tempdir, as we do in pg_verifybackup's 003_corruption.pl. There's a more complicated workaround for the same issue in pg_basebackup's 010_pg_basebackup.pl, but I'm not clear whether there's any reason to do it that way here. For now, let's try this, to at least get the buildfarm green again. A better long-term fix would be to figure out how to generate tar files containing long symlinks, but that will have to wait for another time.
1 parent cd64dc4 commit fa7036d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_combinebackup/t/002_compare_backups.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PostgreSQL::Test::Utils;
88
use Test::More;
99

10-
my $tempdir = PostgreSQL::Test::Utils::tempdir;
10+
my $tempdir = PostgreSQL::Test::Utils::tempdir_short();
1111

1212
# Set up a new database instance.
1313
my $primary = PostgreSQL::Test::Cluster->new('primary');

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