aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-03-11 18:23:57 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-03-11 18:24:11 -0400
commita029a0641cce002acbb5e8ac6ec5533e599a9aea (patch)
treeaa46ebaf1f8147c65ef7511b0bf7361c61db5bc6 /src/backend/utils/adt/pgstatfuncs.c
parentb08dee24a5574ba6657d238b91c10f1f8e2608f8 (diff)
downloadpostgresql-a029a0641cce002acbb5e8ac6ec5533e599a9aea.tar.gz
postgresql-a029a0641cce002acbb5e8ac6ec5533e599a9aea.zip
Fix test case instability introduced in 085b6b667.
I forgot that the WAL directory might hold other files besides WAL segments, notably including new segments still being filled. That means a blind test for the first file's size being 16MB can fail. Restrict based on file name length to make it more robust. Per buildfarm.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions