I am building a node app using node's pg client, and since it's a simple app I am not using app validations and resorting only to postgres constraints to protect data integrity and display insert and update errors.
Using the pg client I only get one constraint violation at once even though multiple violations occur.
Is it possible to set postgres to emit all constrait violations on an insert error?