trying to find postgres bug