Display PG error message instead of resultset