On occasion, it seems the psql history file gets truncated.
Unable to replicate, it just seems to happen every now and then.
... John