module Database.HDBC.PostgreSQL.ErrorCodes where
successfulCompletion :: String
successfulCompletion = "00000"
warning :: String
warning = "01000"
warningDynamicResultSetsReturned :: String
warningDynamicResultSetsReturned = "0100C"
warningImplicitZeroBitPadding :: String
warningImplicitZeroBitPadding = "01008"
warningNullValueEliminatedInSetFunction :: String
warningNullValueEliminatedInSetFunction = "01003"
warningPrivilegeNotGranted :: String
warningPrivilegeNotGranted = "01007"
warningPrivilegeNotRevoked :: String
warningPrivilegeNotRevoked = "01006"
warningStringDataRightTruncation :: String
warningStringDataRightTruncation = "01004"
warningDeprecatedFeature :: String
warningDeprecatedFeature = "01P01"
noData :: String
noData = "02000"
noAdditionalDynamicResultSetsReturned :: String
noAdditionalDynamicResultSetsReturned = "02001"
sqlStatementNotYetComplete :: String
sqlStatementNotYetComplete = "03000"
connectionException :: String
connectionException = "08000"
connectionDoesNotExist :: String
connectionDoesNotExist = "08003"
connectionFailure :: String
connectionFailure = "08006"
sqlclientUnableToEstablishSqlconnection :: String
sqlclientUnableToEstablishSqlconnection = "08001"
sqlserverRejectedEstablishmentOfSqlconnection :: String
sqlserverRejectedEstablishmentOfSqlconnection = "08004"
transactionResolutionUnknown :: String
transactionResolutionUnknown = "08007"
protocolViolation :: String
protocolViolation = "08P01"
triggeredActionException :: String
triggeredActionException = "09000"
featureNotSupported :: String
featureNotSupported = "0A000"
invalidTransactionInitiation :: String
invalidTransactionInitiation = "0B000"
locatorException :: String
locatorException = "0F000"
lEInvalidSpecification :: String
lEInvalidSpecification = "0F001"
invalidGrantor :: String
invalidGrantor = "0L000"
invalidGrantOperation :: String
invalidGrantOperation = "0LP01"
invalidRoleSpecification :: String
invalidRoleSpecification = "0P000"
cardinalityViolation :: String
cardinalityViolation = "21000"
dataException :: String
dataException = "22000"
arrayElementError :: String
arrayElementError = "2202E"
arraySubscriptError :: String
arraySubscriptError = arrayElementError
characterNotInRepertoire :: String
characterNotInRepertoire = "22021"
datetimeFieldOverflow :: String
datetimeFieldOverflow = "22008"
datetimeValueOutOfRange :: String
datetimeValueOutOfRange = datetimeFieldOverflow
divisionByZero :: String
divisionByZero = "22012"
errorInAssignment :: String
errorInAssignment = "22005"
escapeCharacterConflict :: String
escapeCharacterConflict = "2200B"
indicatorOverflow :: String
indicatorOverflow = "22022"
intervalFieldOverflow :: String
intervalFieldOverflow = "22015"
invalidArgumentForLog :: String
invalidArgumentForLog = "2201E"
invalidArgumentForPowerFunction :: String
invalidArgumentForPowerFunction = "2201F"
invalidArgumentForWidthBucketFunction :: String
invalidArgumentForWidthBucketFunction = "2201G"
invalidCharacterValueForCast :: String
invalidCharacterValueForCast = "22018"
invalidDatetimeFormat :: String
invalidDatetimeFormat = "22007"
invalidEscapeCharacter :: String
invalidEscapeCharacter = "22019"
invalidEscapeOctet :: String
invalidEscapeOctet = "2200D"
invalidEscapeSequence :: String
invalidEscapeSequence = "22025"
nonstandardUseOfEscapeCharacter :: String
nonstandardUseOfEscapeCharacter = "22P06"
invalidIndicatorParameterValue :: String
invalidIndicatorParameterValue = "22010"
invalidLimitValue :: String
invalidLimitValue = "22020"
invalidParameterValue :: String
invalidParameterValue = "22023"
invalidRegularExpression :: String
invalidRegularExpression = "2201B"
invalidTimeZoneDisplacementValue :: String
invalidTimeZoneDisplacementValue = "22009"
invalidUseOfEscapeCharacter :: String
invalidUseOfEscapeCharacter = "2200C"
mostSpecificTypeMismatch :: String
mostSpecificTypeMismatch = "2200G"
nullValueNotAllowed :: String
nullValueNotAllowed = "22004"
nullValueNoIndicatorParameter :: String
nullValueNoIndicatorParameter = "22002"
numericValueOutOfRange :: String
numericValueOutOfRange = "22003"
stringDataLengthMismatch :: String
stringDataLengthMismatch = "22026"
stringDataRightTruncation :: String
stringDataRightTruncation = "22001"
substringError :: String
substringError = "22011"
trimError :: String
trimError = "22027"
unterminatedCString :: String
unterminatedCString = "22024"
zeroLengthCharacterString :: String
zeroLengthCharacterString = "2200F"
floatingPointException :: String
floatingPointException = "22P01"
invalidTextRepresentation :: String
invalidTextRepresentation = "22P02"
invalidBinaryRepresentation :: String
invalidBinaryRepresentation = "22P03"
badCopyFileFormat :: String
badCopyFileFormat = "22P04"
untranslatableCharacter :: String
untranslatableCharacter = "22P05"
notAnXmlDocument :: String
notAnXmlDocument = "2200L"
invalidXmlDocument :: String
invalidXmlDocument = "2200M"
invalidXmlContent :: String
invalidXmlContent = "2200N"
invalidXmlComment :: String
invalidXmlComment = "2200S"
invalidXmlProcessingInstruction :: String
invalidXmlProcessingInstruction = "2200T"
integrityConstraintViolation :: String
integrityConstraintViolation = "23000"
restrictViolation :: String
restrictViolation = "23001"
notNullViolation :: String
notNullViolation = "23502"
foreignKeyViolation :: String
foreignKeyViolation = "23503"
uniqueViolation :: String
uniqueViolation = "23505"
checkViolation :: String
checkViolation = "23514"
invalidCursorState :: String
invalidCursorState = "24000"
invalidTransactionState :: String
invalidTransactionState = "25000"
activeSqlTransaction :: String
activeSqlTransaction = "25001"
branchTransactionAlreadyActive :: String
branchTransactionAlreadyActive = "25002"
heldCursorRequiresSameIsolationLevel :: String
heldCursorRequiresSameIsolationLevel = "25008"
inappropriateAccessModeForBranchTransaction :: String
inappropriateAccessModeForBranchTransaction = "25003"
inappropriateIsolationLevelForBranchTransaction :: String
inappropriateIsolationLevelForBranchTransaction = "25004"
noActiveSqlTransactionForBranchTransaction :: String
noActiveSqlTransactionForBranchTransaction = "25005"
readOnlySqlTransaction :: String
readOnlySqlTransaction = "25006"
schemaAndDataStatementMixingNotSupported :: String
schemaAndDataStatementMixingNotSupported = "25007"
noActiveSqlTransaction :: String
noActiveSqlTransaction = "25P01"
inFailedSqlTransaction :: String
inFailedSqlTransaction = "25P02"
invalidSqlStatementName :: String
invalidSqlStatementName = "26000"
triggeredDataChangeViolation :: String
triggeredDataChangeViolation = "27000"
invalidAuthorizationSpecification :: String
invalidAuthorizationSpecification = "28000"
dependentPrivilegeDescriptorsStillExist :: String
dependentPrivilegeDescriptorsStillExist = "2B000"
dependentObjectsStillExist :: String
dependentObjectsStillExist = "2BP01"
invalidTransactionTermination :: String
invalidTransactionTermination = "2D000"
sqlRoutineException :: String
sqlRoutineException = "2F000"
sREFunctionExecutedNoReturnStatement :: String
sREFunctionExecutedNoReturnStatement = "2F005"
sREModifyingSqlDataNotPermitted :: String
sREModifyingSqlDataNotPermitted = "2F002"
sREProhibitedSqlStatementAttempted :: String
sREProhibitedSqlStatementAttempted = "2F003"
sREReadingSqlDataNotPermitted :: String
sREReadingSqlDataNotPermitted = "2F004"
invalidCursorName :: String
invalidCursorName = "34000"
externalRoutineException :: String
externalRoutineException = "38000"
eREContainingSqlNotPermitted :: String
eREContainingSqlNotPermitted = "38001"
eREModifyingSqlDataNotPermitted :: String
eREModifyingSqlDataNotPermitted = "38002"
eREProhibitedSqlStatementAttempted :: String
eREProhibitedSqlStatementAttempted = "38003"
eREReadingSqlDataNotPermitted :: String
eREReadingSqlDataNotPermitted = "38004"
externalRoutineInvocationException :: String
externalRoutineInvocationException = "39000"
eRIEInvalidSqlstateReturned :: String
eRIEInvalidSqlstateReturned = "39001"
eRIENullValueNotAllowed :: String
eRIENullValueNotAllowed = "39004"
eRIETriggerProtocolViolated :: String
eRIETriggerProtocolViolated = "39P01"
eRIESrfProtocolViolated :: String
eRIESrfProtocolViolated = "39P02"
savepointException :: String
savepointException = "3B000"
sEInvalidSpecification :: String
sEInvalidSpecification = "3B001"
invalidCatalogName :: String
invalidCatalogName = "3D000"
invalidSchemaName :: String
invalidSchemaName = "3F000"
transactionRollback :: String
transactionRollback = "40000"
tRIntegrityConstraintViolation :: String
tRIntegrityConstraintViolation = "40002"
tRSerializationFailure :: String
tRSerializationFailure = "40001"
tRStatementCompletionUnknown :: String
tRStatementCompletionUnknown = "40003"
tRDeadlockDetected :: String
tRDeadlockDetected = "40P01"
syntaxErrorOrAccessRuleViolation :: String
syntaxErrorOrAccessRuleViolation = "42000"
syntaxError :: String
syntaxError = "42601"
insufficientPrivilege :: String
insufficientPrivilege = "42501"
cannotCoerce :: String
cannotCoerce = "42846"
groupingError :: String
groupingError = "42803"
invalidForeignKey :: String
invalidForeignKey = "42830"
invalidName :: String
invalidName = "42602"
nameTooLong :: String
nameTooLong = "42622"
reservedName :: String
reservedName = "42939"
datatypeMismatch :: String
datatypeMismatch = "42804"
indeterminateDatatype :: String
indeterminateDatatype = "42P18"
wrongObjectType :: String
wrongObjectType = "42809"
undefinedColumn :: String
undefinedColumn = "42703"
undefinedCursor :: String
undefinedCursor = invalidCursorName
undefinedDatabase :: String
undefinedDatabase = invalidCatalogName
undefinedFunction :: String
undefinedFunction = "42883"
undefinedPstatement :: String
undefinedPstatement = invalidSqlStatementName
undefinedSchema :: String
undefinedSchema = invalidSchemaName
undefinedTable :: String
undefinedTable = "42P01"
undefinedParameter :: String
undefinedParameter = "42P02"
undefinedObject :: String
undefinedObject = "42704"
duplicateColumn :: String
duplicateColumn = "42701"
duplicateCursor :: String
duplicateCursor = "42P03"
duplicateDatabase :: String
duplicateDatabase = "42P04"
duplicateFunction :: String
duplicateFunction = "42723"
duplicatePstatement :: String
duplicatePstatement = "42P05"
duplicateSchema :: String
duplicateSchema = "42P06"
duplicateTable :: String
duplicateTable = "42P07"
duplicateAlias :: String
duplicateAlias = "42712"
duplicateObject :: String
duplicateObject = "42710"
ambiguousColumn :: String
ambiguousColumn = "42702"
ambiguousFunction :: String
ambiguousFunction = "42725"
ambiguousParameter :: String
ambiguousParameter = "42P08"
ambiguousAlias :: String
ambiguousAlias = "42P09"
invalidColumnReference :: String
invalidColumnReference = "42P10"
invalidColumnDefinition :: String
invalidColumnDefinition = "42611"
invalidCursorDefinition :: String
invalidCursorDefinition = "42P11"
invalidDatabaseDefinition :: String
invalidDatabaseDefinition = "42P12"
invalidFunctionDefinition :: String
invalidFunctionDefinition = "42P13"
invalidPstatementDefinition :: String
invalidPstatementDefinition = "42P14"
invalidSchemaDefinition :: String
invalidSchemaDefinition = "42P15"
invalidTableDefinition :: String
invalidTableDefinition = "42P16"
invalidObjectDefinition :: String
invalidObjectDefinition = "42P17"
withCheckOptionViolation :: String
withCheckOptionViolation = "44000"
insufficientResources :: String
insufficientResources = "53000"
diskFull :: String
diskFull = "53100"
outOfMemory :: String
outOfMemory = "53200"
tooManyConnections :: String
tooManyConnections = "53300"
programLimitExceeded :: String
programLimitExceeded = "54000"
statementTooComplex :: String
statementTooComplex = "54001"
tooManyColumns :: String
tooManyColumns = "54011"
tooManyArguments :: String
tooManyArguments = "54023"
objectNotInPrerequisiteState :: String
objectNotInPrerequisiteState = "55000"
objectInUse :: String
objectInUse = "55006"
cantChangeRuntimeParam :: String
cantChangeRuntimeParam = "55P02"
lockNotAvailable :: String
lockNotAvailable = "55P03"
operatorIntervention :: String
operatorIntervention = "57000"
queryCanceled :: String
queryCanceled = "57014"
adminShutdown :: String
adminShutdown = "57P01"
crashShutdown :: String
crashShutdown = "57P02"
cannotConnectNow :: String
cannotConnectNow = "57P03"
ioError :: String
ioError = "58030"
undefinedFile :: String
undefinedFile = "58P01"
duplicateFile :: String
duplicateFile = "58P02"
configFileError :: String
configFileError = "F0000"
lockFileExists :: String
lockFileExists = "F0001"
plpgsqlError :: String
plpgsqlError = "P0000"
raiseException :: String
raiseException = "P0001"
noDataFound :: String
noDataFound = "P0002"
tooManyRows :: String
tooManyRows = "P0003"
internalError :: String
internalError = "XX000"
dataCorrupted :: String
dataCorrupted = "XX001"
indexCorrupted :: String
indexCorrupted = "XX002"