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

Commitf2dcf1a

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 parent36a8881 commitf2dcf1a

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
@@ -3881,6 +3881,10 @@
38813881
my$supports_lz4 = check_pg_config("#define USE_LZ4 1");
38823882
my$supports_gzip = check_pg_config("#define HAVE_LIBZ 1");
38833883
3884+
# ICU doesn't work with some encodings
3885+
my$encoding =$node->safe_psql('postgres', 'show server_encoding');
3886+
$supports_icu = 0 if$encoding eq 'SQL_ASCII';
3887+
38843888
# Create additional databases for mutations of schema public
38853889
$node->psql('postgres', 'create database regress_pg_dump_test;');
38863890
$node->psql('postgres', 'create database regress_public_owner;');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp