index 3409d9d42653153b078d3b326b060ed035b9eb4f..4164784ab34e6d929212ef4ed2cd64986ef46a2e 100644 (file)
@@ -14,7 +14,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'for
-- fails, binary plugin, textual consumer
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '1');
-ERROR: output plugin cannot produce text output
+ERROR: output plugin cannot produce binary output
-- succeeds, textual plugin, binary consumer
SELECT data FROM pg_logical_slot_get_binary_changes('regression_slot', NULL, NULL, 'force-binary', '0');
data
index 986f504effbbda37c2271d5c03ccfee0237e2ad5..0dff60e92a6cf4ee65898984d5e9f94bb8fa5130 100644 (file)
@@ -33,7 +33,7 @@ SELECT pg_drop_replication_slot('regression_slot');
-- fail
SELECT pg_drop_replication_slot('regression_slot');
ERROR: replication slot "regression_slot" does not exist
--- check that we're detecting a streaming rep slot used for logical decoding
+-- check that we're detecting a streaming rep slot used for logical decoding
SELECT 'init' FROM pg_create_physical_replication_slot('repl');
?column?
----------