aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2025-04-04 13:09:06 +0900
committerFujii Masao <fujii@postgresql.org>2025-04-04 13:09:06 +0900
commitc754bdd8a2e5ae388d48dc2a219f9f6b65e3ca3a (patch)
treefb1fa3697295d02e72cdd3ae34a7d09f1e224d6e /doc/src
parent1aff1dc8dfa7584ddbc695e1aae0f767db66326f (diff)
downloadpostgresql-c754bdd8a2e5ae388d48dc2a219f9f6b65e3ca3a.tar.gz
postgresql-c754bdd8a2e5ae388d48dc2a219f9f6b65e3ca3a.zip
Fix logical decoding regression tests to correctly check slot existence.
The regression tests for logical decoding verify whether a logical slot exists or has been dropped. Previously, these tests attempted to retrieve "slot_name" from the result of slot(), but since "slot_name" was not included in the result, slot()->{'slot_name'} always returned undef, leading to incorrect behavior. This commit fixes the issue by checking the "plugin" field in the result of slot() instead, ensuring the tests properly verify slot existence. Back-patch to all supported versions. Author: Hayato Kuroda <kuroda.hayato@fujitsu.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/OSCPR01MB149667EC4E738769CA80B7EA5F5AE2@OSCPR01MB14966.jpnprd01.prod.outlook.com Backpatch-through: 13
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions