Commit d25379eb authored by Simon Riggs's avatar Simon Riggs

Modify test_decoding/messages to remove non-ascii chars

parent ead9963c
......@@ -53,22 +53,22 @@ SELECT 'msg7' FROM pg_logical_emit_message(true, 'test', 'msg7');
(1 row)
COMMIT;
SELECT 'žluťoučký kůň' FROM pg_logical_emit_message(true, 'test', 'žluťoučký kůň');
?column?
---------------
žluťoučký kůň
SELECT 'ignorethis' FROM pg_logical_emit_message(true, 'test', 'czechtastic');
?column?
------------
ignorethis
(1 row)
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '0', 'skip-empty-xacts', '1');
data
----------------------------------------------------------------------
data
--------------------------------------------------------------------
message: transactional: 1 prefix: test, sz: 4 content:msg1
message: transactional: 0 prefix: test, sz: 4 content:msg2
message: transactional: 0 prefix: test, sz: 4 content:msg4
message: transactional: 0 prefix: test, sz: 4 content:msg6
message: transactional: 1 prefix: test, sz: 4 content:msg5
message: transactional: 1 prefix: test, sz: 4 content:msg7
message: transactional: 1 prefix: test, sz: 19 content:žluťoučký kůň
message: transactional: 1 prefix: test, sz: 11 content:czechtastic
(7 rows)
SELECT 'init' FROM pg_drop_replication_slot('regression_slot');
......
......@@ -18,7 +18,7 @@ SELECT 'msg6' FROM pg_logical_emit_message(false, 'test', 'msg6');
SELECT 'msg7' FROM pg_logical_emit_message(true, 'test', 'msg7');
COMMIT;
SELECT 'žluťoučký kůň' FROM pg_logical_emit_message(true, 'test', 'žluťoučký kůň');
SELECT 'ignorethis' FROM pg_logical_emit_message(true, 'test', 'czechtastic');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '0', 'skip-empty-xacts', '1');
......
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