aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/dbsize.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-06-12 15:29:48 +0900
committerMichael Paquier <michael@paquier.xyz>2021-06-12 15:29:48 +0900
commitbfd96b7a3dc26a8384d4185d274573fb6a46b033 (patch)
tree4c95482c7dd0ee17d4d134c0b7d7e08f1aadec63 /src/backend/utils/adt/dbsize.c
parentd8e950d3ae7b33a2064a4fb39b7829334b0b47bc (diff)
downloadpostgresql-bfd96b7a3dc26a8384d4185d274573fb6a46b033.tar.gz
postgresql-bfd96b7a3dc26a8384d4185d274573fb6a46b033.zip
Improve log pattern detection in recently-added TAP tests
ab55d74 has introduced some tests with rows found as missing in logical replication subscriptions for partitioned tables, relying on a logic with a lookup of the logs generated, scanning the whole file. This commit makes the logic more precise, by scanning the logs only from the position before the key queries are run to the position where we check for the logs. This will reduce the risk of issues with log patterns overlapping with each other if those tests get more complicated in the future. Per discussion with Tom Lane. Discussion: https://postgr.es/m/YMP+Gx2S8meYYHW4@paquier.xyz Backpatch-through: 13
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions