Content-Length: 268251 | pFad | http://github.com/postgrespro/postgres_cluster/commit/87914e708aabb7e2cd9045fa95b4fed99ca458ec

1F Make subscription collation test work independent of locale · postgrespro/postgres_cluster@87914e7 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/87914e708aabb7e2cd9045fa95b4fed99ca458ec

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy