Utilities for PostgreSQL