summaryrefslogtreecommitdiff
path: root/src/backend/executor/execIndexing.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-10-17 13:01:14 +0900
committerMichael Paquier <michael@paquier.xyz>2025-10-17 13:01:14 +0900
commitd372888ade9e7f4796882d3e15b0d78ae329d0cb (patch)
tree375b494ff21408a5c9768e66cd91ac37cb2112a2 /src/backend/executor/execIndexing.c
parent6ad9378c9a7bf10840c884286009956f51e4924c (diff)
pg_createsubscriber: Fix matching check in TAP test
040_pg_createsubscriber has been calling safe_psql(), that returns the result of a SQL query, with ok() without checking the result generated (in this case 't', for a number of publications). The outcome of the tests is currently not impacted by this change. However, it could be possible that the test fails to detect future issues if the query results become different. The test is rewritten so as the number of publications is checked. This is not the fix suggested originally by the author, but this is more reliable in the long run. Oversight in e5aeed4b8020. Author: Sadhuprasad Patro <b.sadhu@gmail.com> Discussion: https://postgr.es/m/CAFF0-CHhwNx_Cv2uy7tKjODUbeOgPrJpW4Rpf1jqB16_1bU2sg@mail.gmail.com Backpatch-through: 18
Diffstat (limited to 'src/backend/executor/execIndexing.c')
0 files changed, 0 insertions, 0 deletions