Resonate modifications to PostgreSQL