postgresql/contrib/test_decoding/expected
Amit Kapila 8d05be9319 Fix the misuse of origin filter across multiple pg_logical_slot_get_changes() calls.
The pgoutput module uses a global variable (publish_no_origin) to cache
the action for the origin filter, but we didn't reset the flag when
shutting down the output plugin, so subsequent retries may access the
previous publish_no_origin value.

We fix this by storing the flag in the output plugin's private data.
Additionally, the patch removes the currently unused origin string from the
structure.

For the back branch, to avoid changing the exposed structure, we eliminated the
global variable and instead directly used the origin string for change
filtering.

Author: Hou Zhijie
Reviewed-by: Amit Kapila, Michael Paquier
Backpatch-through: 16
Discussion: http://postgr.es/m/OS0PR01MB571690EF24F51F51EFFCBB0E94FAA@OS0PR01MB5716.jpnprd01.prod.outlook.com
2023-09-27 14:20:57 +05:30
..
binary.out
catalog_change_snapshot.out Fix assertion failures while processing NEW_CID record in logical decoding. 2022-10-20 08:49:48 +05:30
concurrent_ddl_dml.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
concurrent_stream.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
ddl.out Make test_decoding ddl.out shorter 2023-07-24 17:48:06 +02:00
decoding_in_xact.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
decoding_into_rel.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
delayed_startup.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
messages.out
mxact.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
oldest_xmin.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
ondisk_startup.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
permissions.out Improve several permission-related error messages. 2023-03-17 10:33:09 +01:00
prepared.out
replorigin.out Fix the misuse of origin filter across multiple pg_logical_slot_get_changes() calls. 2023-09-27 14:20:57 +05:30
rewrite.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
slot_creation_error.out Close race condition in slot_creation_error.spec. 2022-03-18 18:18:00 -07:00
slot.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
snapshot_transfer.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
spill.out
stats.out pgstat: add/extend tests for resetting various kinds of stats. 2022-04-07 15:43:43 -07:00
stream.out
subxact_without_top.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
time.out
toast.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
truncate.out Revert "Logical decoding of sequences" 2022-04-07 20:06:36 +02:00
twophase_snapshot.out Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
twophase_stream.out
twophase.out Use PG_TEST_TIMEOUT_DEFAULT for pg_regress suite non-elapsing timeouts. 2022-03-04 18:53:13 -08:00
xact.out