routier-collection / plugins/postgresql/src / RECOVERABLE_SQLSTATE
Variable: RECOVERABLE_SQLSTATE
constRECOVERABLE_SQLSTATE:object
Defined in: plugins/postgres-core/dist/plugin.d.ts:11
The SQLSTATE codes this plugin recovers from, rather than message text, which is localised.
Exported because a driver whose transport drops the code has to put it back — see @routier/pglite-plugin, where a worker rebuilds the error from its message alone.
Type Declaration
undefinedTable
readonlyundefinedTable:"42P01"
duplicateTable
readonlyduplicateTable:"42P07"
uniqueViolation
readonlyuniqueViolation:"23505"