diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2025-03-27 14:02:40 -0400 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2025-03-27 14:04:14 -0400 |
commit | 043799fa08c2c71f35816ca067951266d2e9ebe0 (patch) | |
tree | 3475ea1ec96925712def1f7cd0db612709724d5f /src/backend/tcop/postgres.c | |
parent | 4623d71443de40781135a7040079ab4538974a6f (diff) | |
download | postgresql-043799fa08c2c71f35816ca067951266d2e9ebe0.tar.gz postgresql-043799fa08c2c71f35816ca067951266d2e9ebe0.zip |
Use streaming read I/O in heap amcheck
Instead of directly invoking ReadBuffer() for each unskippable block in
the heap relation, verify_heapam() now uses the read stream API to
acquire the next buffer to check for corruption.
Author: Matheus Alcantara <matheusssilv97@gmail.com>
Co-authored-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://postgr.es/m/flat/CAFY6G8eLyz7%2BsccegZYFj%3D5tAUR-GZ9uEq4Ch5gvwKqUwb_hCA%40mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions