On occasion, it seems the psql history file gets truncated. Unable to replicate, it just seems to happen every now and then. ... John
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных