Hi Palak, Thanks for the update. 0013 and 0015 LGTM.
Two more points: - pg_resize_shared_buffers() lacks a permission check, although the documentation says it is restricted to superusers. - In test 006, evicting the low-numbered buffers leaves those slots available for reuse, so the victim may still be below the shrink target. The test can therefore bail out before attempting the shrink. What would be a reliable way to arrange an in-progress read above the target? Best regards, Yuhang Qiu
