We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4444317 commit b4ddf3eCopy full SHA for b4ddf3e
src/bin/pg_dump/t/002_pg_dump.pl
@@ -3903,6 +3903,10 @@
3903
my $supports_lz4 = check_pg_config("#define USE_LZ4 1");
3904
my $supports_gzip = check_pg_config("#define HAVE_LIBZ 1");
3905
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
+
3910
# Create additional databases for mutations of schema public
3911
$node->psql('postgres', 'create database regress_pg_dump_test;');
3912
$node->psql('postgres', 'create database regress_public_owner;');
0 commit comments