killed the strangest bug ever - postgres is guilty