When this fails postgres it will mark the transaction as failed