aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-05-24 11:21:21 +0900
committerMichael Paquier <michael@paquier.xyz>2024-05-24 11:21:21 +0900
commitac8c85d04b133509071b1de60a027ebe00654696 (patch)
tree1075a35b0efba8418ee0bf9e9266de84786ee9b2 /src/backend/utils/adt/enum.c
parent0162a9bde267a0dc88f35a8d286514c059e1e0e2 (diff)
downloadpostgresql-ac8c85d04b133509071b1de60a027ebe00654696.tar.gz
postgresql-ac8c85d04b133509071b1de60a027ebe00654696.zip
Improve stability of subscription/029_on_error.pl
This test was failing when using wal_debug=on and -DWAL_DEBUG because of additional log entries that made the test grab an LSN not mapping with the error expected in the test. Previously the test would look for the first matching line to get the LSN to skip up to. This is improved by having the test scan the logs with a regexp that checks for the expected ERROR string, ensuring that the wanted LSN comes from the correct context. Backpatch down to 15 where this test has been introduced. Author: Ian Ilyasov Discussion: https://postgr.es/m/GV1P251MB100415F17E6B2FDD7188777ECDE32@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM Backpatch-through: 15
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions