Maybe you had a cursor that was not fully scanned before the session was left idle -- as I recall, those can leave buffers pinned.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных