Optimize pg_visibility with read streams.
authorNoah Misch <noah@leadboat.com>
Tue, 10 Sep 2024 22:21:33 +0000 (15:21 -0700)
committerNoah Misch <noah@leadboat.com>
Tue, 10 Sep 2024 22:21:33 +0000 (15:21 -0700)
commit65c310b310a613d86c1ba94891fa9972587e09fd
tree3b8042ec0f0bac334fdd44aab69744accb82689b
parent52c707483ce4d0161127e4958d981d1b5655865e
Optimize pg_visibility with read streams.

We've measured 5% performance improvement, and this arranges to benefit
automatically from future optimizations to the read_stream subsystem.
The area lacked test coverage, so close that gap.

Nazir Bilal Yavuz

Discussion: https://postgr.es/m/CAN55FZ1_Ru3XpMgTwsU67FTH2fs_FrRROmb7x6zs+F44QBEiww@mail.gmail.com
Discussion: https://postgr.es/m/CAEudQAozv3wTY5TV2t29JcwPydbmKbiWQkZD42S2OgzdixPMDQ@mail.gmail.com
contrib/pg_visibility/meson.build
contrib/pg_visibility/pg_visibility.c
contrib/pg_visibility/t/002_corrupt_vm.pl [new file with mode: 0644]