I would say that savepoints are doomed to lose.
Applications which need to be able to "retry" part of the transaction after such an error can't use 'doom()', because the rule violation which triggers the 'doom()' call is non-negotiable, by design.
I would say that savepoints are doomed to lose.
Applications which need to be able to "retry" part of the transaction after such an error can't use 'doom()', because the
rule violation which triggers the 'doom()' call is non-negotiable,
by design.