Commit 87914e70 authored by Peter Eisentraut's avatar Peter Eisentraut

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.
parent 4e274a04
...@@ -16,11 +16,11 @@ else ...@@ -16,11 +16,11 @@ else
} }
my $node_publisher = get_new_node('publisher'); 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; $node_publisher->start;
my $node_subscriber = get_new_node('subscriber'); 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; $node_subscriber->start;
my $publisher_connstr = $node_publisher->connstr . ' dbname=postgres'; my $publisher_connstr = $node_publisher->connstr . ' dbname=postgres';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment