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

Commitb4ddf3e

Browse files
committed
pg_dump: Fix new ICU tests
ICU doesn't support some server encodings, so we need to exclude themif a non-supported encoding was set up.
1 parent4444317 commitb4ddf3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3903,6 +3903,10 @@
39033903
my$supports_lz4 = check_pg_config("#define USE_LZ4 1");
39043904
my$supports_gzip = check_pg_config("#define HAVE_LIBZ 1");
39053905
3906+
# ICU doesn't work with some encodings
3907+
my$encoding =$node->safe_psql('postgres', 'show server_encoding');
3908+
$supports_icu = 0 if$encoding eq 'SQL_ASCII';
3909+
39063910
# Create additional databases for mutations of schema public
39073911
$node->psql('postgres', 'create database regress_pg_dump_test;');
39083912
$node->psql('postgres', 'create database regress_public_owner;');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp