summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorMichael Paquier2021-06-24 21:52:36 +0000
committerMichael Paquier2021-06-24 21:52:36 +0000
commitc13585fe9e55813cf9feac67fe7b65d3a78fff92 (patch)
tree6506612b47fde7ceb507c3e77f79c47d76f04f7a /src/backend/access/gist/gistutil.c
parent802177090992511c610804da54a4603d4f50c594 (diff)
Fix pattern matching logic for logs in TAP tests of pgbench
The logic checking for the format of per-thread logs used grep() with directly "$re", which would cause the test to consider all the logs as a match without caring about their format at all. Using "/$re/" makes grep() perform a regex test, which is what we want here. While on it, improve some of the tests to be more picky with the patterns expected and add more comments to describe the tests. Issue discovered while digging into a separate patch. Author: Fabien Coelho, Michael Paquier Discussion: https://postgr.es/m/[email protected] Backpatch-through: 11
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions