    -- Generated from "/usr/include/postgresql/utils/errcodes.h" (PostgreSQL 8.3).
    --
    -- The following vim regexp substitutions map "errorcodes.h" to this file:
    --
    -- " remove all comments
    -- :%s/\v\/\*\_.{-}\*\/
    --
    -- " remove empty lines
    -- :%s/^\s*\n/
    --
    -- " #defines -> functions
    -- :%s/\v#define ERRCODE_(\S*)\t*/\L\1 = /
    --
    -- " expand MAKE_SQLSTATE macro
    -- :%s/\vMAKE_SQLSTATE\('(.)',\s*'(.)',\s*'(.)',\s*'(.)',\s*'(.)'\)/"\1\2\3\4\5"/
    --
    -- " aliases
    -- :%s/\vERRCODE_(\S*)/\L\1/
    --
    -- " type signatures
    -- :%s/\v^(\S*)/\r\1 :: String\r\1/
    --
    -- " to mixedCase
    -- :%s/\v_(\l)/\u\1/g
    --
    -- " got ride of additional whitespace
    -- :%s/\s+=\s+/ = /
    --
    -- " Documentation
    -- :%s/\v(\a+) :: String\n\1 \= "(.*)"/-- |Is set to @\\"\2\\"@.\r\0
    --
    -- " Documentation for aliases
    -- :%s/\v(\a+) :: String\n\1 \= (\a+)/-- |Same as '\2'.\r\0
    --

    module Database.HDBC.PostgreSQL.ErrorCodes where

    -- |Is set to @\"00000\"@.
    successfulCompletion :: String
    successfulCompletion :: String
    successfulCompletion = String
    "00000"

    -- |Is set to @\"01000\"@.
    warning :: String
    warning :: String
    warning = String
    "01000"

    -- |Is set to @\"0100C\"@.
    warningDynamicResultSetsReturned :: String
    warningDynamicResultSetsReturned :: String
    warningDynamicResultSetsReturned = String
    "0100C"

    -- |Is set to @\"01008\"@.
    warningImplicitZeroBitPadding :: String
    warningImplicitZeroBitPadding :: String
    warningImplicitZeroBitPadding = String
    "01008"

    -- |Is set to @\"01003\"@.
    warningNullValueEliminatedInSetFunction :: String
    warningNullValueEliminatedInSetFunction :: String
    warningNullValueEliminatedInSetFunction = String
    "01003"

    -- |Is set to @\"01007\"@.
    warningPrivilegeNotGranted :: String
    warningPrivilegeNotGranted :: String
    warningPrivilegeNotGranted = String
    "01007"

    -- |Is set to @\"01006\"@.
    warningPrivilegeNotRevoked :: String
    warningPrivilegeNotRevoked :: String
    warningPrivilegeNotRevoked = String
    "01006"

    -- |Is set to @\"01004\"@.
    warningStringDataRightTruncation :: String
    warningStringDataRightTruncation :: String
    warningStringDataRightTruncation = String
    "01004"

    -- |Is set to @\"01P01\"@.
    warningDeprecatedFeature :: String
    warningDeprecatedFeature :: String
    warningDeprecatedFeature = String
    "01P01"

    -- |Is set to @\"02000\"@.
    noData :: String
    noData :: String
    noData = String
    "02000"

    -- |Is set to @\"02001\"@.
    noAdditionalDynamicResultSetsReturned :: String
    noAdditionalDynamicResultSetsReturned :: String
    noAdditionalDynamicResultSetsReturned = String
    "02001"

    -- |Is set to @\"03000\"@.
    sqlStatementNotYetComplete :: String
    sqlStatementNotYetComplete :: String
    sqlStatementNotYetComplete = String
    "03000"

    -- |Is set to @\"08000\"@.
    connectionException :: String
    connectionException :: String
    connectionException = String
    "08000"

    -- |Is set to @\"08003\"@.
    connectionDoesNotExist :: String
    connectionDoesNotExist :: String
    connectionDoesNotExist = String
    "08003"

    -- |Is set to @\"08006\"@.
    connectionFailure :: String
    connectionFailure :: String
    connectionFailure = String
    "08006"

    -- |Is set to @\"08001\"@.
    sqlclientUnableToEstablishSqlconnection :: String
    sqlclientUnableToEstablishSqlconnection :: String
    sqlclientUnableToEstablishSqlconnection = String
    "08001"

    -- |Is set to @\"08004\"@.
    sqlserverRejectedEstablishmentOfSqlconnection :: String
    sqlserverRejectedEstablishmentOfSqlconnection :: String
    sqlserverRejectedEstablishmentOfSqlconnection = String
    "08004"

    -- |Is set to @\"08007\"@.
    transactionResolutionUnknown :: String
    transactionResolutionUnknown :: String
    transactionResolutionUnknown = String
    "08007"

    -- |Is set to @\"08P01\"@.
    protocolViolation :: String
    protocolViolation :: String
    protocolViolation = String
    "08P01"

    -- |Is set to @\"09000\"@.
    triggeredActionException :: String
    triggeredActionException :: String
    triggeredActionException = String
    "09000"

    -- |Is set to @\"0A000\"@.
    featureNotSupported :: String
    featureNotSupported :: String
    featureNotSupported = String
    "0A000"

    -- |Is set to @\"0B000\"@.
    invalidTransactionInitiation :: String
    invalidTransactionInitiation :: String
    invalidTransactionInitiation = String
    "0B000"

    -- |Is set to @\"0F000\"@.
    locatorException :: String
    locatorException :: String
    locatorException = String
    "0F000"

    -- |Is set to @\"0F001\"@.
    lEInvalidSpecification :: String
    lEInvalidSpecification :: String
    lEInvalidSpecification = String
    "0F001"

    -- |Is set to @\"0L000\"@.
    invalidGrantor :: String
    invalidGrantor :: String
    invalidGrantor = String
    "0L000"

    -- |Is set to @\"0LP01\"@.
    invalidGrantOperation :: String
    invalidGrantOperation :: String
    invalidGrantOperation = String
    "0LP01"

    -- |Is set to @\"0P000\"@.
    invalidRoleSpecification :: String
    invalidRoleSpecification :: String
    invalidRoleSpecification = String
    "0P000"

    -- |Is set to @\"21000\"@.
    cardinalityViolation :: String
    cardinalityViolation :: String
    cardinalityViolation = String
    "21000"

    -- |Is set to @\"22000\"@.
    dataException :: String
    dataException :: String
    dataException = String
    "22000"

    -- |Is set to @\"2202E\"@.
    arrayElementError :: String
    arrayElementError :: String
    arrayElementError = String
    "2202E"

    -- |Same as 'arrayElementError'.
    arraySubscriptError :: String
    arraySubscriptError :: String
    arraySubscriptError = String
    arrayElementError

    -- |Is set to @\"22021\"@.
    characterNotInRepertoire :: String
    characterNotInRepertoire :: String
    characterNotInRepertoire = String
    "22021"

    -- |Is set to @\"22008\"@.
    datetimeFieldOverflow :: String
    datetimeFieldOverflow :: String
    datetimeFieldOverflow = String
    "22008"

    -- |Same as 'datetimeFieldOverflow'.
    datetimeValueOutOfRange :: String
    datetimeValueOutOfRange :: String
    datetimeValueOutOfRange = String
    datetimeFieldOverflow

    -- |Is set to @\"22012\"@.
    divisionByZero :: String
    divisionByZero :: String
    divisionByZero = String
    "22012"

    -- |Is set to @\"22005\"@.
    errorInAssignment :: String
    errorInAssignment :: String
    errorInAssignment = String
    "22005"

    -- |Is set to @\"2200B\"@.
    escapeCharacterConflict :: String
    escapeCharacterConflict :: String
    escapeCharacterConflict = String
    "2200B"

    -- |Is set to @\"22022\"@.
    indicatorOverflow :: String
    indicatorOverflow :: String
    indicatorOverflow = String
    "22022"

    -- |Is set to @\"22015\"@.
    intervalFieldOverflow :: String
    intervalFieldOverflow :: String
    intervalFieldOverflow = String
    "22015"

    -- |Is set to @\"2201E\"@.
    invalidArgumentForLog :: String
    invalidArgumentForLog :: String
    invalidArgumentForLog = String
    "2201E"

    -- |Is set to @\"2201F\"@.
    invalidArgumentForPowerFunction :: String
    invalidArgumentForPowerFunction :: String
    invalidArgumentForPowerFunction = String
    "2201F"

    -- |Is set to @\"2201G\"@.
    invalidArgumentForWidthBucketFunction :: String
    invalidArgumentForWidthBucketFunction :: String
    invalidArgumentForWidthBucketFunction = String
    "2201G"

    -- |Is set to @\"22018\"@.
    invalidCharacterValueForCast :: String
    invalidCharacterValueForCast :: String
    invalidCharacterValueForCast = String
    "22018"

    -- |Is set to @\"22007\"@.
    invalidDatetimeFormat :: String
    invalidDatetimeFormat :: String
    invalidDatetimeFormat = String
    "22007"

    -- |Is set to @\"22019\"@.
    invalidEscapeCharacter :: String
    invalidEscapeCharacter :: String
    invalidEscapeCharacter = String
    "22019"

    -- |Is set to @\"2200D\"@.
    invalidEscapeOctet :: String
    invalidEscapeOctet :: String
    invalidEscapeOctet = String
    "2200D"

    -- |Is set to @\"22025\"@.
    invalidEscapeSequence :: String
    invalidEscapeSequence :: String
    invalidEscapeSequence = String
    "22025"

    -- |Is set to @\"22P06\"@.
    nonstandardUseOfEscapeCharacter :: String
    nonstandardUseOfEscapeCharacter :: String
    nonstandardUseOfEscapeCharacter = String
    "22P06"

    -- |Is set to @\"22010\"@.
    invalidIndicatorParameterValue :: String
    invalidIndicatorParameterValue :: String
    invalidIndicatorParameterValue = String
    "22010"

    -- |Is set to @\"22020\"@.
    invalidLimitValue :: String
    invalidLimitValue :: String
    invalidLimitValue = String
    "22020"

    -- |Is set to @\"22023\"@.
    invalidParameterValue :: String
    invalidParameterValue :: String
    invalidParameterValue = String
    "22023"

    -- |Is set to @\"2201B\"@.
    invalidRegularExpression :: String
    invalidRegularExpression :: String
    invalidRegularExpression = String
    "2201B"

    -- |Is set to @\"22009\"@.
    invalidTimeZoneDisplacementValue :: String
    invalidTimeZoneDisplacementValue :: String
    invalidTimeZoneDisplacementValue = String
    "22009"

    -- |Is set to @\"2200C\"@.
    invalidUseOfEscapeCharacter :: String
    invalidUseOfEscapeCharacter :: String
    invalidUseOfEscapeCharacter = String
    "2200C"

    -- |Is set to @\"2200G\"@.
    mostSpecificTypeMismatch :: String
    mostSpecificTypeMismatch :: String
    mostSpecificTypeMismatch = String
    "2200G"

    -- |Is set to @\"22004\"@.
    nullValueNotAllowed :: String
    nullValueNotAllowed :: String
    nullValueNotAllowed = String
    "22004"

    -- |Is set to @\"22002\"@.
    nullValueNoIndicatorParameter :: String
    nullValueNoIndicatorParameter :: String
    nullValueNoIndicatorParameter = String
    "22002"

    -- |Is set to @\"22003\"@.
    numericValueOutOfRange :: String
    numericValueOutOfRange :: String
    numericValueOutOfRange = String
    "22003"

    -- |Is set to @\"22026\"@.
    stringDataLengthMismatch :: String
    stringDataLengthMismatch :: String
    stringDataLengthMismatch = String
    "22026"

    -- |Is set to @\"22001\"@.
    stringDataRightTruncation :: String
    stringDataRightTruncation :: String
    stringDataRightTruncation = String
    "22001"

    -- |Is set to @\"22011\"@.
    substringError :: String
    substringError :: String
    substringError = String
    "22011"

    -- |Is set to @\"22027\"@.
    trimError :: String
    trimError :: String
    trimError = String
    "22027"

    -- |Is set to @\"22024\"@.
    unterminatedCString :: String
    unterminatedCString :: String
    unterminatedCString = String
    "22024"

    -- |Is set to @\"2200F\"@.
    zeroLengthCharacterString :: String
    zeroLengthCharacterString :: String
    zeroLengthCharacterString = String
    "2200F"

    -- |Is set to @\"22P01\"@.
    floatingPointException :: String
    floatingPointException :: String
    floatingPointException = String
    "22P01"

    -- |Is set to @\"22P02\"@.
    invalidTextRepresentation :: String
    invalidTextRepresentation :: String
    invalidTextRepresentation = String
    "22P02"

    -- |Is set to @\"22P03\"@.
    invalidBinaryRepresentation :: String
    invalidBinaryRepresentation :: String
    invalidBinaryRepresentation = String
    "22P03"

    -- |Is set to @\"22P04\"@.
    badCopyFileFormat :: String
    badCopyFileFormat :: String
    badCopyFileFormat = String
    "22P04"

    -- |Is set to @\"22P05\"@.
    untranslatableCharacter :: String
    untranslatableCharacter :: String
    untranslatableCharacter = String
    "22P05"

    -- |Is set to @\"2200L\"@.
    notAnXmlDocument :: String
    notAnXmlDocument :: String
    notAnXmlDocument = String
    "2200L"

    -- |Is set to @\"2200M\"@.
    invalidXmlDocument :: String
    invalidXmlDocument :: String
    invalidXmlDocument = String
    "2200M"

    -- |Is set to @\"2200N\"@.
    invalidXmlContent :: String
    invalidXmlContent :: String
    invalidXmlContent = String
    "2200N"

    -- |Is set to @\"2200S\"@.
    invalidXmlComment :: String
    invalidXmlComment :: String
    invalidXmlComment = String
    "2200S"

    -- |Is set to @\"2200T\"@.
    invalidXmlProcessingInstruction :: String
    invalidXmlProcessingInstruction :: String
    invalidXmlProcessingInstruction = String
    "2200T"

    -- |Is set to @\"23000\"@.
    integrityConstraintViolation :: String
    integrityConstraintViolation :: String
    integrityConstraintViolation = String
    "23000"

    -- |Is set to @\"23001\"@.
    restrictViolation :: String
    restrictViolation :: String
    restrictViolation = String
    "23001"

    -- |Is set to @\"23502\"@.
    notNullViolation :: String
    notNullViolation :: String
    notNullViolation = String
    "23502"

    -- |Is set to @\"23503\"@.
    foreignKeyViolation :: String
    foreignKeyViolation :: String
    foreignKeyViolation = String
    "23503"

    -- |Is set to @\"23505\"@.
    uniqueViolation :: String
    uniqueViolation :: String
    uniqueViolation = String
    "23505"

    -- |Is set to @\"23514\"@.
    checkViolation :: String
    checkViolation :: String
    checkViolation = String
    "23514"

    -- |Is set to @\"24000\"@.
    invalidCursorState :: String
    invalidCursorState :: String
    invalidCursorState = String
    "24000"

    -- |Is set to @\"25000\"@.
    invalidTransactionState :: String
    invalidTransactionState :: String
    invalidTransactionState = String
    "25000"

    -- |Is set to @\"25001\"@.
    activeSqlTransaction :: String
    activeSqlTransaction :: String
    activeSqlTransaction = String
    "25001"

    -- |Is set to @\"25002\"@.
    branchTransactionAlreadyActive :: String
    branchTransactionAlreadyActive :: String
    branchTransactionAlreadyActive = String
    "25002"

    -- |Is set to @\"25008\"@.
    heldCursorRequiresSameIsolationLevel :: String
    heldCursorRequiresSameIsolationLevel :: String
    heldCursorRequiresSameIsolationLevel = String
    "25008"

    -- |Is set to @\"25003\"@.
    inappropriateAccessModeForBranchTransaction :: String
    inappropriateAccessModeForBranchTransaction :: String
    inappropriateAccessModeForBranchTransaction = String
    "25003"

    -- |Is set to @\"25004\"@.
    inappropriateIsolationLevelForBranchTransaction :: String
    inappropriateIsolationLevelForBranchTransaction :: String
    inappropriateIsolationLevelForBranchTransaction = String
    "25004"

    -- |Is set to @\"25005\"@.
    noActiveSqlTransactionForBranchTransaction :: String
    noActiveSqlTransactionForBranchTransaction :: String
    noActiveSqlTransactionForBranchTransaction = String
    "25005"

    -- |Is set to @\"25006\"@.
    readOnlySqlTransaction :: String
    readOnlySqlTransaction :: String
    readOnlySqlTransaction = String
    "25006"

    -- |Is set to @\"25007\"@.
    schemaAndDataStatementMixingNotSupported :: String
    schemaAndDataStatementMixingNotSupported :: String
    schemaAndDataStatementMixingNotSupported = String
    "25007"

    -- |Is set to @\"25P01\"@.
    noActiveSqlTransaction :: String
    noActiveSqlTransaction :: String
    noActiveSqlTransaction = String
    "25P01"

    -- |Is set to @\"25P02\"@.
    inFailedSqlTransaction :: String
    inFailedSqlTransaction :: String
    inFailedSqlTransaction = String
    "25P02"

    -- |Is set to @\"26000\"@.
    invalidSqlStatementName :: String
    invalidSqlStatementName :: String
    invalidSqlStatementName = String
    "26000"

    -- |Is set to @\"27000\"@.
    triggeredDataChangeViolation :: String
    triggeredDataChangeViolation :: String
    triggeredDataChangeViolation = String
    "27000"

    -- |Is set to @\"28000\"@.
    invalidAuthorizationSpecification :: String
    invalidAuthorizationSpecification :: String
    invalidAuthorizationSpecification = String
    "28000"

    -- |Is set to @\"2B000\"@.
    dependentPrivilegeDescriptorsStillExist :: String
    dependentPrivilegeDescriptorsStillExist :: String
    dependentPrivilegeDescriptorsStillExist = String
    "2B000"

    -- |Is set to @\"2BP01\"@.
    dependentObjectsStillExist :: String
    dependentObjectsStillExist :: String
    dependentObjectsStillExist = String
    "2BP01"

    -- |Is set to @\"2D000\"@.
    invalidTransactionTermination :: String
    invalidTransactionTermination :: String
    invalidTransactionTermination = String
    "2D000"

    -- |Is set to @\"2F000\"@.
    sqlRoutineException :: String
    sqlRoutineException :: String
    sqlRoutineException = String
    "2F000"

    -- |Is set to @\"2F005\"@.
    sREFunctionExecutedNoReturnStatement :: String
    sREFunctionExecutedNoReturnStatement :: String
    sREFunctionExecutedNoReturnStatement = String
    "2F005"

    -- |Is set to @\"2F002\"@.
    sREModifyingSqlDataNotPermitted :: String
    sREModifyingSqlDataNotPermitted :: String
    sREModifyingSqlDataNotPermitted = String
    "2F002"

    -- |Is set to @\"2F003\"@.
    sREProhibitedSqlStatementAttempted :: String
    sREProhibitedSqlStatementAttempted :: String
    sREProhibitedSqlStatementAttempted = String
    "2F003"

    -- |Is set to @\"2F004\"@.
    sREReadingSqlDataNotPermitted :: String
    sREReadingSqlDataNotPermitted :: String
    sREReadingSqlDataNotPermitted = String
    "2F004"

    -- |Is set to @\"34000\"@.
    invalidCursorName :: String
    invalidCursorName :: String
    invalidCursorName = String
    "34000"

    -- |Is set to @\"38000\"@.
    externalRoutineException :: String
    externalRoutineException :: String
    externalRoutineException = String
    "38000"

    -- |Is set to @\"38001\"@.
    eREContainingSqlNotPermitted :: String
    eREContainingSqlNotPermitted :: String
    eREContainingSqlNotPermitted = String
    "38001"

    -- |Is set to @\"38002\"@.
    eREModifyingSqlDataNotPermitted :: String
    eREModifyingSqlDataNotPermitted :: String
    eREModifyingSqlDataNotPermitted = String
    "38002"

    -- |Is set to @\"38003\"@.
    eREProhibitedSqlStatementAttempted :: String
    eREProhibitedSqlStatementAttempted :: String
    eREProhibitedSqlStatementAttempted = String
    "38003"

    -- |Is set to @\"38004\"@.
    eREReadingSqlDataNotPermitted :: String
    eREReadingSqlDataNotPermitted :: String
    eREReadingSqlDataNotPermitted = String
    "38004"

    -- |Is set to @\"39000\"@.
    externalRoutineInvocationException :: String
    externalRoutineInvocationException :: String
    externalRoutineInvocationException = String
    "39000"

    -- |Is set to @\"39001\"@.
    eRIEInvalidSqlstateReturned :: String
    eRIEInvalidSqlstateReturned :: String
    eRIEInvalidSqlstateReturned = String
    "39001"

    -- |Is set to @\"39004\"@.
    eRIENullValueNotAllowed :: String
    eRIENullValueNotAllowed :: String
    eRIENullValueNotAllowed = String
    "39004"

    -- |Is set to @\"39P01\"@.
    eRIETriggerProtocolViolated :: String
    eRIETriggerProtocolViolated :: String
    eRIETriggerProtocolViolated = String
    "39P01"

    -- |Is set to @\"39P02\"@.
    eRIESrfProtocolViolated :: String
    eRIESrfProtocolViolated :: String
    eRIESrfProtocolViolated = String
    "39P02"

    -- |Is set to @\"3B000\"@.
    savepointException :: String
    savepointException :: String
    savepointException = String
    "3B000"

    -- |Is set to @\"3B001\"@.
    sEInvalidSpecification :: String
    sEInvalidSpecification :: String
    sEInvalidSpecification = String
    "3B001"

    -- |Is set to @\"3D000\"@.
    invalidCatalogName :: String
    invalidCatalogName :: String
    invalidCatalogName = String
    "3D000"

    -- |Is set to @\"3F000\"@.
    invalidSchemaName :: String
    invalidSchemaName :: String
    invalidSchemaName = String
    "3F000"

    -- |Is set to @\"40000\"@.
    transactionRollback :: String
    transactionRollback :: String
    transactionRollback = String
    "40000"

    -- |Is set to @\"40002\"@.
    tRIntegrityConstraintViolation :: String
    tRIntegrityConstraintViolation :: String
    tRIntegrityConstraintViolation = String
    "40002"

    -- |Is set to @\"40001\"@.
    tRSerializationFailure :: String
    tRSerializationFailure :: String
    tRSerializationFailure = String
    "40001"

    -- |Is set to @\"40003\"@.
    tRStatementCompletionUnknown :: String
    tRStatementCompletionUnknown :: String
    tRStatementCompletionUnknown = String
    "40003"

    -- |Is set to @\"40P01\"@.
    tRDeadlockDetected :: String
    tRDeadlockDetected :: String
    tRDeadlockDetected = String
    "40P01"

    -- |Is set to @\"42000\"@.
    syntaxErrorOrAccessRuleViolation :: String
    syntaxErrorOrAccessRuleViolation :: String
    syntaxErrorOrAccessRuleViolation = String
    "42000"

    -- |Is set to @\"42601\"@.
    syntaxError :: String
    syntaxError :: String
    syntaxError = String
    "42601"

    -- |Is set to @\"42501\"@.
    insufficientPrivilege :: String
    insufficientPrivilege :: String
    insufficientPrivilege = String
    "42501"

    -- |Is set to @\"42846\"@.
    cannotCoerce :: String
    cannotCoerce :: String
    cannotCoerce = String
    "42846"

    -- |Is set to @\"42803\"@.
    groupingError :: String
    groupingError :: String
    groupingError = String
    "42803"

    -- |Is set to @\"42830\"@.
    invalidForeignKey :: String
    invalidForeignKey :: String
    invalidForeignKey = String
    "42830"

    -- |Is set to @\"42602\"@.
    invalidName :: String
    invalidName :: String
    invalidName = String
    "42602"

    -- |Is set to @\"42622\"@.
    nameTooLong :: String
    nameTooLong :: String
    nameTooLong = String
    "42622"

    -- |Is set to @\"42939\"@.
    reservedName :: String
    reservedName :: String
    reservedName = String
    "42939"

    -- |Is set to @\"42804\"@.
    datatypeMismatch :: String
    datatypeMismatch :: String
    datatypeMismatch = String
    "42804"

    -- |Is set to @\"42P18\"@.
    indeterminateDatatype :: String
    indeterminateDatatype :: String
    indeterminateDatatype = String
    "42P18"

    -- |Is set to @\"42809\"@.
    wrongObjectType :: String
    wrongObjectType :: String
    wrongObjectType = String
    "42809"

    -- |Is set to @\"42703\"@.
    undefinedColumn :: String
    undefinedColumn :: String
    undefinedColumn = String
    "42703"

    -- |Same as 'invalidCursorName'.
    undefinedCursor :: String
    undefinedCursor :: String
    undefinedCursor = String
    invalidCursorName

    -- |Same as 'invalidCatalogName'.
    undefinedDatabase :: String
    undefinedDatabase :: String
    undefinedDatabase = String
    invalidCatalogName

    -- |Is set to @\"42883\"@.
    undefinedFunction :: String
    undefinedFunction :: String
    undefinedFunction = String
    "42883"

    -- |Same as 'invalidSqlStatementName'.
    undefinedPstatement :: String
    undefinedPstatement :: String
    undefinedPstatement = String
    invalidSqlStatementName

    -- |Same as 'invalidSchemaName'.
    undefinedSchema :: String
    undefinedSchema :: String
    undefinedSchema = String
    invalidSchemaName

    -- |Is set to @\"42P01\"@.
    undefinedTable :: String
    undefinedTable :: String
    undefinedTable = String
    "42P01"

    -- |Is set to @\"42P02\"@.
    undefinedParameter :: String
    undefinedParameter :: String
    undefinedParameter = String
    "42P02"

    -- |Is set to @\"42704\"@.
    undefinedObject :: String
    undefinedObject :: String
    undefinedObject = String
    "42704"

    -- |Is set to @\"42701\"@.
    duplicateColumn :: String
    duplicateColumn :: String
    duplicateColumn = String
    "42701"

    -- |Is set to @\"42P03\"@.
    duplicateCursor :: String
    duplicateCursor :: String
    duplicateCursor = String
    "42P03"

    -- |Is set to @\"42P04\"@.
    duplicateDatabase :: String
    duplicateDatabase :: String
    duplicateDatabase = String
    "42P04"

    -- |Is set to @\"42723\"@.
    duplicateFunction :: String
    duplicateFunction :: String
    duplicateFunction = String
    "42723"

    -- |Is set to @\"42P05\"@.
    duplicatePstatement :: String
    duplicatePstatement :: String
    duplicatePstatement = String
    "42P05"

    -- |Is set to @\"42P06\"@.
    duplicateSchema :: String
    duplicateSchema :: String
    duplicateSchema = String
    "42P06"

    -- |Is set to @\"42P07\"@.
    duplicateTable :: String
    duplicateTable :: String
    duplicateTable = String
    "42P07"

    -- |Is set to @\"42712\"@.
    duplicateAlias :: String
    duplicateAlias :: String
    duplicateAlias = String
    "42712"

    -- |Is set to @\"42710\"@.
    duplicateObject :: String
    duplicateObject :: String
    duplicateObject = String
    "42710"

    -- |Is set to @\"42702\"@.
    ambiguousColumn :: String
    ambiguousColumn :: String
    ambiguousColumn = String
    "42702"

    -- |Is set to @\"42725\"@.
    ambiguousFunction :: String
    ambiguousFunction :: String
    ambiguousFunction = String
    "42725"

    -- |Is set to @\"42P08\"@.
    ambiguousParameter :: String
    ambiguousParameter :: String
    ambiguousParameter = String
    "42P08"

    -- |Is set to @\"42P09\"@.
    ambiguousAlias :: String
    ambiguousAlias :: String
    ambiguousAlias = String
    "42P09"

    -- |Is set to @\"42P10\"@.
    invalidColumnReference :: String
    invalidColumnReference :: String
    invalidColumnReference = String
    "42P10"

    -- |Is set to @\"42611\"@.
    invalidColumnDefinition :: String
    invalidColumnDefinition :: String
    invalidColumnDefinition = String
    "42611"

    -- |Is set to @\"42P11\"@.
    invalidCursorDefinition :: String
    invalidCursorDefinition :: String
    invalidCursorDefinition = String
    "42P11"

    -- |Is set to @\"42P12\"@.
    invalidDatabaseDefinition :: String
    invalidDatabaseDefinition :: String
    invalidDatabaseDefinition = String
    "42P12"

    -- |Is set to @\"42P13\"@.
    invalidFunctionDefinition :: String
    invalidFunctionDefinition :: String
    invalidFunctionDefinition = String
    "42P13"

    -- |Is set to @\"42P14\"@.
    invalidPstatementDefinition :: String
    invalidPstatementDefinition :: String
    invalidPstatementDefinition = String
    "42P14"

    -- |Is set to @\"42P15\"@.
    invalidSchemaDefinition :: String
    invalidSchemaDefinition :: String
    invalidSchemaDefinition = String
    "42P15"

    -- |Is set to @\"42P16\"@.
    invalidTableDefinition :: String
    invalidTableDefinition :: String
    invalidTableDefinition = String
    "42P16"

    -- |Is set to @\"42P17\"@.
    invalidObjectDefinition :: String
    invalidObjectDefinition :: String
    invalidObjectDefinition = String
    "42P17"

    -- |Is set to @\"44000\"@.
    withCheckOptionViolation :: String
    withCheckOptionViolation :: String
    withCheckOptionViolation = String
    "44000"

    -- |Is set to @\"53000\"@.
    insufficientResources :: String
    insufficientResources :: String
    insufficientResources = String
    "53000"

    -- |Is set to @\"53100\"@.
    diskFull :: String
    diskFull :: String
    diskFull = String
    "53100"

    -- |Is set to @\"53200\"@.
    outOfMemory :: String
    outOfMemory :: String
    outOfMemory = String
    "53200"

    -- |Is set to @\"53300\"@.
    tooManyConnections :: String
    tooManyConnections :: String
    tooManyConnections = String
    "53300"

    -- |Is set to @\"54000\"@.
    programLimitExceeded :: String
    programLimitExceeded :: String
    programLimitExceeded = String
    "54000"

    -- |Is set to @\"54001\"@.
    statementTooComplex :: String
    statementTooComplex :: String
    statementTooComplex = String
    "54001"

    -- |Is set to @\"54011\"@.
    tooManyColumns :: String
    tooManyColumns :: String
    tooManyColumns = String
    "54011"

    -- |Is set to @\"54023\"@.
    tooManyArguments :: String
    tooManyArguments :: String
    tooManyArguments = String
    "54023"

    -- |Is set to @\"55000\"@.
    objectNotInPrerequisiteState :: String
    objectNotInPrerequisiteState :: String
    objectNotInPrerequisiteState = String
    "55000"

    -- |Is set to @\"55006\"@.
    objectInUse :: String
    objectInUse :: String
    objectInUse = String
    "55006"

    -- |Is set to @\"55P02\"@.
    cantChangeRuntimeParam :: String
    cantChangeRuntimeParam :: String
    cantChangeRuntimeParam = String
    "55P02"

    -- |Is set to @\"55P03\"@.
    lockNotAvailable :: String
    lockNotAvailable :: String
    lockNotAvailable = String
    "55P03"

    -- |Is set to @\"57000\"@.
    operatorIntervention :: String
    operatorIntervention :: String
    operatorIntervention = String
    "57000"

    -- |Is set to @\"57014\"@.
    queryCanceled :: String
    queryCanceled :: String
    queryCanceled = String
    "57014"

    -- |Is set to @\"57P01\"@.
    adminShutdown :: String
    adminShutdown :: String
    adminShutdown = String
    "57P01"

    -- |Is set to @\"57P02\"@.
    crashShutdown :: String
    crashShutdown :: String
    crashShutdown = String
    "57P02"

    -- |Is set to @\"57P03\"@.
    cannotConnectNow :: String
    cannotConnectNow :: String
    cannotConnectNow = String
    "57P03"

    -- |Is set to @\"58030\"@.
    ioError :: String
    ioError :: String
    ioError = String
    "58030"

    -- |Is set to @\"58P01\"@.
    undefinedFile :: String
    undefinedFile :: String
    undefinedFile = String
    "58P01"

    -- |Is set to @\"58P02\"@.
    duplicateFile :: String
    duplicateFile :: String
    duplicateFile = String
    "58P02"

    -- |Is set to @\"F0000\"@.
    configFileError :: String
    configFileError :: String
    configFileError = String
    "F0000"

    -- |Is set to @\"F0001\"@.
    lockFileExists :: String
    lockFileExists :: String
    lockFileExists = String
    "F0001"

    -- |Is set to @\"P0000\"@.
    plpgsqlError :: String
    plpgsqlError :: String
    plpgsqlError = String
    "P0000"

    -- |Is set to @\"P0001\"@.
    raiseException :: String
    raiseException :: String
    raiseException = String
    "P0001"

    -- |Is set to @\"P0002\"@.
    noDataFound :: String
    noDataFound :: String
    noDataFound = String
    "P0002"

    -- |Is set to @\"P0003\"@.
    tooManyRows :: String
    tooManyRows :: String
    tooManyRows = String
    "P0003"

    -- |Is set to @\"XX000\"@.
    internalError :: String
    internalError :: String
    internalError = String
    "XX000"

    -- |Is set to @\"XX001\"@.
    dataCorrupted :: String
    dataCorrupted :: String
    dataCorrupted = String
    "XX001"

    -- |Is set to @\"XX002\"@.
    indexCorrupted :: String
    indexCorrupted :: String
    indexCorrupted = String
    "XX002"