Slightly better version, adjusting a few obsoleted comments, adjusting error message to distinguish write/extend, fixing a thinko in smgr_cached_nblocks maintenance.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных