From: Peter Eisentraut Date: Fri, 22 Mar 2019 22:33:31 +0000 (+0100) Subject: Make subscription collation test work independent of locale X-Git-Tag: REL_12_BETA1~457 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=87914e708aabb7e2cd9045fa95b4fed99ca458ec;p=postgresql.git Make subscription collation test work independent of locale We need to set the database to UTF8 encoding so that the test can use Unicode escapes. --- diff --git a/src/test/subscription/t/012_collation.pl b/src/test/subscription/t/012_collation.pl index 6c480de9c1c..9f79e96106c 100644 --- a/src/test/subscription/t/012_collation.pl +++ b/src/test/subscription/t/012_collation.pl @@ -16,11 +16,11 @@ else } my $node_publisher = get_new_node('publisher'); -$node_publisher->init(allows_streaming => 'logical'); +$node_publisher->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]); $node_publisher->start; my $node_subscriber = get_new_node('subscriber'); -$node_subscriber->init(allows_streaming => 'logical'); +$node_subscriber->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]); $node_subscriber->start; my $publisher_connstr = $node_publisher->connstr . ' dbname=postgres';