Add support for pgx