Skip to content

Commit 87914e7

Browse files
committed
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.
1 parent 4e274a0 commit 87914e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/subscription/t/012_collation.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
}
1717

1818
my $node_publisher = get_new_node('publisher');
19-
$node_publisher->init(allows_streaming => 'logical');
19+
$node_publisher->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]);
2020
$node_publisher->start;
2121

2222
my $node_subscriber = get_new_node('subscriber');
23-
$node_subscriber->init(allows_streaming => 'logical');
23+
$node_subscriber->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]);
2424
$node_subscriber->start;
2525

2626
my $publisher_connstr = $node_publisher->connstr . ' dbname=postgres';

0 commit comments

Comments
 (0)