This comment mentions that pg_buffercache locks all buffer partitions simultaneously, but it hasn't done so since v10 (see commit 6e654546fb). -- nathan
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных