(PDB-3311) Send commands to dlo for all "class 54" postgres errors
(PDB-3311) Send commands to dlo for all "class 54" postgres errors

Discussion on #postgresql indicates that all 54-class states can be
considered "terminal", and for now, we're also assuming that all
commands don't vary their behavior across retries sufficiently for
that to matter either.  This was originally introduced to handle
program_limit_exceeded errors caused by attemptps to insert resource
titles that were too big to fit in a postgres index.

cf. https://www.postgresql.org/docs/11/errcodes-appendix.html

Thanks to Wyatt Alt for an earlier proposal in a similar direction.

puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb