Type provider for PostgreSQL queries.