Change the exception message for PostgreSql while executing a batch.