aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-03-08 12:22:41 +0900
committerMichael Paquier <michael@paquier.xyz>2025-03-08 12:22:41 +0900
commit8b532771a09975f274b35823aa355d8ca90c77db (patch)
tree71cfeb02ee0da34b1799812d89a0f325cd3e0362 /src/tutorial
parent9a8dd2c5a6d9d2538444c156e6b273b1b4f4e3a4 (diff)
downloadpostgresql-8b532771a09975f274b35823aa355d8ca90c77db.tar.gz
postgresql-8b532771a09975f274b35823aa355d8ca90c77db.zip
Add regression test listing all the possible tuples in pg_stat_io
pg_stat_io returns a set of tuples based on a combination of three properties (BackendType, IOObject and IOContext) and pgstat_tracks_io_object() to decide if a BackendType should return a tuple based on a pair made of an IOObject and an IOContext. This commit adds a regression test to track all the combinations supported. This is useful to know which tuples are relevant when adding a new BackendType to the set or when touching pgstat_tracks_io_object(), and I have noticed while playing with this area that it is not complicated to break it without the regression tests noticing a difference in some cases. Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://postgr.es/m/Z8exfAehbVbEKXW5@paquier.xyz
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions