Class PostgresErrorCodes
- Namespace
- Npgsql
- Assembly
- Npgsql.dll
Provides constants for PostgreSQL error codes.
public static class PostgresErrorCodes
- Inheritance
-
PostgresErrorCodes
- Inherited Members
Remarks
Fields
ActiveSqlTransaction
public const string ActiveSqlTransaction = "25001"
Field Value
AdminShutdown
public const string AdminShutdown = "57P01"
Field Value
AmbiguousAlias
public const string AmbiguousAlias = "42P09"
Field Value
AmbiguousColumn
public const string AmbiguousColumn = "42702"
Field Value
AmbiguousFunction
public const string AmbiguousFunction = "42725"
Field Value
AmbiguousParameter
public const string AmbiguousParameter = "42P08"
Field Value
ArraySubscriptError
public const string ArraySubscriptError = "2202E"
Field Value
AssertFailure
public const string AssertFailure = "P0004"
Field Value
BadCopyFileFormat
public const string BadCopyFileFormat = "22P04"
Field Value
BranchTransactionAlreadyActive
public const string BranchTransactionAlreadyActive = "25002"
Field Value
CannotCoerce
public const string CannotCoerce = "42846"
Field Value
CannotConnectNow
public const string CannotConnectNow = "57P03"
Field Value
CantChangeRuntimeParam
public const string CantChangeRuntimeParam = "55P02"
Field Value
CardinalityViolation
public const string CardinalityViolation = "21000"
Field Value
CaseNotFound
public const string CaseNotFound = "20000"
Field Value
CharacterNotInRepertoire
public const string CharacterNotInRepertoire = "22021"
Field Value
CheckViolation
public const string CheckViolation = "23514"
Field Value
CollationMismatch
public const string CollationMismatch = "42P21"
Field Value
ConfigFileError
public const string ConfigFileError = "F0000"
Field Value
ConfigurationLimitExceeded
public const string ConfigurationLimitExceeded = "53400"
Field Value
ConnectionDoesNotExist
public const string ConnectionDoesNotExist = "08003"
Field Value
ConnectionException
public const string ConnectionException = "08000"
Field Value
ConnectionFailure
public const string ConnectionFailure = "08006"
Field Value
ContainingSqlNotPermittedExternalRoutineException
public const string ContainingSqlNotPermittedExternalRoutineException = "38001"
Field Value
CrashShutdown
public const string CrashShutdown = "57P02"
Field Value
DataCorrupted
public const string DataCorrupted = "XX001"
Field Value
DataException
public const string DataException = "22000"
Field Value
DatabaseDropped
public const string DatabaseDropped = "57P04"
Field Value
DatatypeMismatch
public const string DatatypeMismatch = "42804"
Field Value
DatetimeFieldOverflow
public const string DatetimeFieldOverflow = "22008"
Field Value
DeadlockDetected
public const string DeadlockDetected = "40P01"
Field Value
DependentObjectsStillExist
public const string DependentObjectsStillExist = "2BP01"
Field Value
DependentPrivilegeDescriptorsStillExist
public const string DependentPrivilegeDescriptorsStillExist = "2B000"
Field Value
DeprecatedFeatureWarning
public const string DeprecatedFeatureWarning = "01P01"
Field Value
DiagnosticsException
public const string DiagnosticsException = "0Z000"
Field Value
DiskFull
public const string DiskFull = "53100"
Field Value
DivisionByZero
public const string DivisionByZero = "22012"
Field Value
DuplicateAlias
public const string DuplicateAlias = "42712"
Field Value
DuplicateColumn
public const string DuplicateColumn = "42701"
Field Value
DuplicateCursor
public const string DuplicateCursor = "42P03"
Field Value
DuplicateDatabase
public const string DuplicateDatabase = "42P04"
Field Value
DuplicateFile
public const string DuplicateFile = "58P02"
Field Value
DuplicateFunction
public const string DuplicateFunction = "42723"
Field Value
DuplicateObject
public const string DuplicateObject = "42710"
Field Value
DuplicatePreparedStatement
public const string DuplicatePreparedStatement = "42P05"
Field Value
DuplicateSchema
public const string DuplicateSchema = "42P06"
Field Value
DuplicateTable
public const string DuplicateTable = "42P07"
Field Value
DynamicResultSetsReturnedWarning
public const string DynamicResultSetsReturnedWarning = "0100C"
Field Value
ErrorInAssignment
public const string ErrorInAssignment = "22005"
Field Value
EscapeCharacterConflict
public const string EscapeCharacterConflict = "2200B"
Field Value
EventTriggerProtocolViolatedExternalRoutineInvocationException
public const string EventTriggerProtocolViolatedExternalRoutineInvocationException = "39P03"
Field Value
ExclusionViolation
public const string ExclusionViolation = "23P01"
Field Value
ExternalRoutineException
public const string ExternalRoutineException = "38000"
Field Value
ExternalRoutineInvocationException
public const string ExternalRoutineInvocationException = "39000"
Field Value
FdwColumnNameNotFound
public const string FdwColumnNameNotFound = "HV005"
Field Value
FdwDynamicParameterValueNeeded
public const string FdwDynamicParameterValueNeeded = "HV002"
Field Value
FdwError
public const string FdwError = "HV000"
Field Value
FdwFunctionSequenceError
public const string FdwFunctionSequenceError = "HV010"
Field Value
FdwInconsistentDescriptorInformation
public const string FdwInconsistentDescriptorInformation = "HV021"
Field Value
FdwInvalidAttributeValue
public const string FdwInvalidAttributeValue = "HV024"
Field Value
FdwInvalidColumnName
public const string FdwInvalidColumnName = "HV007"
Field Value
FdwInvalidColumnNumber
public const string FdwInvalidColumnNumber = "HV008"
Field Value
FdwInvalidDataType
public const string FdwInvalidDataType = "HV004"
Field Value
FdwInvalidDataTypeDescriptors
public const string FdwInvalidDataTypeDescriptors = "HV006"
Field Value
FdwInvalidDescriptorFieldIdentifier
public const string FdwInvalidDescriptorFieldIdentifier = "HV091"
Field Value
FdwInvalidHandle
public const string FdwInvalidHandle = "HV00B"
Field Value
FdwInvalidOptionIndex
public const string FdwInvalidOptionIndex = "HV00C"
Field Value
FdwInvalidOptionName
public const string FdwInvalidOptionName = "HV00D"
Field Value
FdwInvalidStringFormat
public const string FdwInvalidStringFormat = "HV00A"
Field Value
FdwInvalidStringLengthOrBufferLength
public const string FdwInvalidStringLengthOrBufferLength = "HV090"
Field Value
FdwInvalidUseOfNullPointer
public const string FdwInvalidUseOfNullPointer = "HV009"
Field Value
FdwNoSchemas
public const string FdwNoSchemas = "HV00P"
Field Value
FdwOptionNameNotFound
public const string FdwOptionNameNotFound = "HV00J"
Field Value
FdwOutOfMemory
public const string FdwOutOfMemory = "HV001"
Field Value
FdwReplyHandle
public const string FdwReplyHandle = "HV00K"
Field Value
FdwSchemaNotFound
public const string FdwSchemaNotFound = "HV00Q"
Field Value
FdwTableNotFound
public const string FdwTableNotFound = "HV00R"
Field Value
FdwTooManyHandles
public const string FdwTooManyHandles = "HV014"
Field Value
FdwUnableToCreateExecution
public const string FdwUnableToCreateExecution = "HV00L"
Field Value
FdwUnableToCreateReply
public const string FdwUnableToCreateReply = "HV00M"
Field Value
FdwUnableToEstablishConnection
public const string FdwUnableToEstablishConnection = "HV00N"
Field Value
FeatureNotSupported
public const string FeatureNotSupported = "0A000"
Field Value
FloatingPointException
public const string FloatingPointException = "22P01"
Field Value
ForeignKeyViolation
public const string ForeignKeyViolation = "23503"
Field Value
FunctionExecutedNoReturnStatementSqlRoutineException
public const string FunctionExecutedNoReturnStatementSqlRoutineException = "2F005"
Field Value
GroupingError
public const string GroupingError = "42803"
Field Value
HeldCursorRequiresSameIsolationLevel
public const string HeldCursorRequiresSameIsolationLevel = "25008"
Field Value
IdleSessionTimeout
public const string IdleSessionTimeout = "57P05"
Field Value
ImplicitZeroBitPaddingWarning
public const string ImplicitZeroBitPaddingWarning = "01008"
Field Value
InFailedSqlTransaction
public const string InFailedSqlTransaction = "25P02"
Field Value
InappropriateAccessModeForBranchTransaction
public const string InappropriateAccessModeForBranchTransaction = "25003"
Field Value
InappropriateIsolationLevelForBranchTransaction
public const string InappropriateIsolationLevelForBranchTransaction = "25004"
Field Value
IndeterminateCollation
public const string IndeterminateCollation = "42P22"
Field Value
IndeterminateDatatype
public const string IndeterminateDatatype = "42P18"
Field Value
IndexCorrupted
public const string IndexCorrupted = "XX002"
Field Value
IndicatorOverflow
public const string IndicatorOverflow = "22022"
Field Value
InsufficientPrivilege
public const string InsufficientPrivilege = "42501"
Field Value
InsufficientResources
public const string InsufficientResources = "53000"
Field Value
IntegrityConstraintViolation
public const string IntegrityConstraintViolation = "23000"
Field Value
InternalError
public const string InternalError = "XX000"
Field Value
IntervalFieldOverflow
public const string IntervalFieldOverflow = "22015"
Field Value
InvalidArgumentForLogarithm
public const string InvalidArgumentForLogarithm = "2201E"
Field Value
InvalidArgumentForNthValueFunction
public const string InvalidArgumentForNthValueFunction = "22016"
Field Value
InvalidArgumentForNtileFunction
public const string InvalidArgumentForNtileFunction = "22014"
Field Value
InvalidArgumentForPowerFunction
public const string InvalidArgumentForPowerFunction = "2201F"
Field Value
InvalidArgumentForWidthBucketFunction
public const string InvalidArgumentForWidthBucketFunction = "2201G"
Field Value
InvalidAuthorizationSpecification
public const string InvalidAuthorizationSpecification = "28000"
Field Value
InvalidBinaryRepresentation
public const string InvalidBinaryRepresentation = "22P03"
Field Value
InvalidCatalogName
public const string InvalidCatalogName = "3D000"
Field Value
InvalidCharacterValueForCast
public const string InvalidCharacterValueForCast = "22018"
Field Value
InvalidColumnDefinition
public const string InvalidColumnDefinition = "42611"
Field Value
InvalidColumnReference
public const string InvalidColumnReference = "42P10"
Field Value
InvalidCursorDefinition
public const string InvalidCursorDefinition = "42P11"
Field Value
InvalidCursorName
public const string InvalidCursorName = "34000"
Field Value
InvalidCursorState
public const string InvalidCursorState = "24000"
Field Value
InvalidDatabaseDefinition
public const string InvalidDatabaseDefinition = "42P12"
Field Value
InvalidDatetimeFormat
public const string InvalidDatetimeFormat = "22007"
Field Value
InvalidEscapeCharacter
public const string InvalidEscapeCharacter = "22019"
Field Value
InvalidEscapeOctet
public const string InvalidEscapeOctet = "2200D"
Field Value
InvalidEscapeSequence
public const string InvalidEscapeSequence = "22025"
Field Value
InvalidForeignKey
public const string InvalidForeignKey = "42830"
Field Value
InvalidFunctionDefinition
public const string InvalidFunctionDefinition = "42P13"
Field Value
InvalidGrantOperation
public const string InvalidGrantOperation = "0LP01"
Field Value
InvalidGrantor
public const string InvalidGrantor = "0L000"
Field Value
InvalidIndicatorParameterValue
public const string InvalidIndicatorParameterValue = "22010"
Field Value
InvalidLocatorSpecification
public const string InvalidLocatorSpecification = "0F001"
Field Value
InvalidName
public const string InvalidName = "42602"
Field Value
InvalidObjectDefinition
public const string InvalidObjectDefinition = "42P17"
Field Value
InvalidParameterValue
public const string InvalidParameterValue = "22023"
Field Value
InvalidPassword
public const string InvalidPassword = "28P01"
Field Value
InvalidPreparedStatementDefinition
public const string InvalidPreparedStatementDefinition = "42P14"
Field Value
InvalidRecursion
public const string InvalidRecursion = "42P19"
Field Value
InvalidRegularExpression
public const string InvalidRegularExpression = "2201B"
Field Value
InvalidRoleSpecification
public const string InvalidRoleSpecification = "0P000"
Field Value
InvalidRowCountInLimitClause
public const string InvalidRowCountInLimitClause = "2201W"
Field Value
InvalidRowCountInResultOffsetClause
public const string InvalidRowCountInResultOffsetClause = "2201X"
Field Value
InvalidSavepointSpecification
public const string InvalidSavepointSpecification = "3B001"
Field Value
InvalidSchemaDefinition
public const string InvalidSchemaDefinition = "42P15"
Field Value
InvalidSchemaName
public const string InvalidSchemaName = "3F000"
Field Value
InvalidSqlStatementName
public const string InvalidSqlStatementName = "26000"
Field Value
InvalidSqlstateReturnedExternalRoutineInvocationException
public const string InvalidSqlstateReturnedExternalRoutineInvocationException = "39001"
Field Value
InvalidTableDefinition
public const string InvalidTableDefinition = "42P16"
Field Value
InvalidTablesampleArgument
public const string InvalidTablesampleArgument = "2202H"
Field Value
InvalidTablesampleRepeat
public const string InvalidTablesampleRepeat = "2202G"
Field Value
InvalidTextRepresentation
public const string InvalidTextRepresentation = "22P02"
Field Value
InvalidTimeZoneDisplacementValue
public const string InvalidTimeZoneDisplacementValue = "22009"
Field Value
InvalidTransactionInitiation
public const string InvalidTransactionInitiation = "0B000"
Field Value
InvalidTransactionState
public const string InvalidTransactionState = "25000"
Field Value
InvalidTransactionTermination
public const string InvalidTransactionTermination = "2D000"
Field Value
InvalidUseOfEscapeCharacter
public const string InvalidUseOfEscapeCharacter = "2200C"
Field Value
InvalidXmlComment
public const string InvalidXmlComment = "2200S"
Field Value
InvalidXmlContent
public const string InvalidXmlContent = "2200N"
Field Value
InvalidXmlDocument
public const string InvalidXmlDocument = "2200M"
Field Value
InvalidXmlProcessingInstruction
public const string InvalidXmlProcessingInstruction = "2200T"
Field Value
IoError
public const string IoError = "58030"
Field Value
LocatorException
public const string LocatorException = "0F000"
Field Value
LockFileExists
public const string LockFileExists = "F0001"
Field Value
LockNotAvailable
public const string LockNotAvailable = "55P03"
Field Value
ModifyingSqlDataNotPermittedExternalRoutineException
public const string ModifyingSqlDataNotPermittedExternalRoutineException = "38002"
Field Value
ModifyingSqlDataNotPermittedSqlRoutineException
public const string ModifyingSqlDataNotPermittedSqlRoutineException = "2F002"
Field Value
MostSpecificTypeMismatch
public const string MostSpecificTypeMismatch = "2200G"
Field Value
NameTooLong
public const string NameTooLong = "42622"
Field Value
NoActiveSqlTransaction
public const string NoActiveSqlTransaction = "25P01"
Field Value
NoActiveSqlTransactionForBranchTransaction
public const string NoActiveSqlTransactionForBranchTransaction = "25005"
Field Value
NoAdditionalDynamicResultSetsReturned
public const string NoAdditionalDynamicResultSetsReturned = "02001"
Field Value
NoData
public const string NoData = "02000"
Field Value
NoDataFound
public const string NoDataFound = "P0002"
Field Value
NonstandardUseOfEscapeCharacter
public const string NonstandardUseOfEscapeCharacter = "22P06"
Field Value
NotAnXmlDocument
public const string NotAnXmlDocument = "2200L"
Field Value
NotNullViolation
public const string NotNullViolation = "23502"
Field Value
NullValueEliminatedInSetFunctionWarning
public const string NullValueEliminatedInSetFunctionWarning = "01003"
Field Value
NullValueNoIndicatorParameter
public const string NullValueNoIndicatorParameter = "22002"
Field Value
NullValueNotAllowed
public const string NullValueNotAllowed = "22004"
Field Value
NullValueNotAllowedExternalRoutineInvocationException
public const string NullValueNotAllowedExternalRoutineInvocationException = "39004"
Field Value
NumericValueOutOfRange
public const string NumericValueOutOfRange = "22003"
Field Value
ObjectInUse
public const string ObjectInUse = "55006"
Field Value
ObjectNotInPrerequisiteState
public const string ObjectNotInPrerequisiteState = "55000"
Field Value
OperatorIntervention
public const string OperatorIntervention = "57000"
Field Value
OutOfMemory
public const string OutOfMemory = "53200"
Field Value
PlpgsqlError
public const string PlpgsqlError = "P0000"
Field Value
PrivilegeNotGrantedWarning
public const string PrivilegeNotGrantedWarning = "01007"
Field Value
PrivilegeNotRevokedWarning
public const string PrivilegeNotRevokedWarning = "01006"
Field Value
ProgramLimitExceeded
public const string ProgramLimitExceeded = "54000"
Field Value
ProhibitedSqlStatementAttemptedExternalRoutineException
public const string ProhibitedSqlStatementAttemptedExternalRoutineException = "38003"
Field Value
ProhibitedSqlStatementAttemptedSqlRoutineException
public const string ProhibitedSqlStatementAttemptedSqlRoutineException = "2F003"
Field Value
ProtocolViolation
public const string ProtocolViolation = "08P01"
Field Value
QueryCanceled
public const string QueryCanceled = "57014"
Field Value
RaiseException
public const string RaiseException = "P0001"
Field Value
ReadOnlySqlTransaction
public const string ReadOnlySqlTransaction = "25006"
Field Value
ReadingSqlDataNotPermittedExternalRoutineException
public const string ReadingSqlDataNotPermittedExternalRoutineException = "38004"
Field Value
ReadingSqlDataNotPermittedSqlRoutineException
public const string ReadingSqlDataNotPermittedSqlRoutineException = "2F004"
Field Value
ReservedName
public const string ReservedName = "42939"
Field Value
RestrictViolation
public const string RestrictViolation = "23001"
Field Value
SavepointException
public const string SavepointException = "3B000"
Field Value
SchemaAndDataStatementMixingNotSupported
public const string SchemaAndDataStatementMixingNotSupported = "25007"
Field Value
SerializationFailure
public const string SerializationFailure = "40001"
Field Value
SnapshotFailure
public const string SnapshotFailure = "72000"
Field Value
SqlClientUnableToEstablishSqlConnection
public const string SqlClientUnableToEstablishSqlConnection = "08001"
Field Value
SqlRoutineException
public const string SqlRoutineException = "2F000"
Field Value
SqlServerRejectedEstablishmentOfSqlConnection
public const string SqlServerRejectedEstablishmentOfSqlConnection = "08004"
Field Value
SqlStatementNotYetComplete
public const string SqlStatementNotYetComplete = "03000"
Field Value
SrfProtocolViolatedExternalRoutineInvocationException
public const string SrfProtocolViolatedExternalRoutineInvocationException = "39P02"
Field Value
StackedDiagnosticsAccessedWithoutActiveHandler
public const string StackedDiagnosticsAccessedWithoutActiveHandler = "0Z002"
Field Value
StatementCompletionUnknown
public const string StatementCompletionUnknown = "40003"
Field Value
StatementTooComplex
public const string StatementTooComplex = "54001"
Field Value
StringDataLengthMismatch
public const string StringDataLengthMismatch = "22026"
Field Value
StringDataRightTruncation
public const string StringDataRightTruncation = "22001"
Field Value
StringDataRightTruncationWarning
public const string StringDataRightTruncationWarning = "01004"
Field Value
SubstringError
public const string SubstringError = "22011"
Field Value
SuccessfulCompletion
public const string SuccessfulCompletion = "00000"
Field Value
SyntaxError
public const string SyntaxError = "42601"
Field Value
SyntaxErrorOrAccessRuleViolation
public const string SyntaxErrorOrAccessRuleViolation = "42000"
Field Value
SystemError
public const string SystemError = "58000"
Field Value
TooManyArguments
public const string TooManyArguments = "54023"
Field Value
TooManyColumns
public const string TooManyColumns = "54011"
Field Value
TooManyConnections
public const string TooManyConnections = "53300"
Field Value
TooManyRows
public const string TooManyRows = "P0003"
Field Value
TransactionIntegrityConstraintViolation
public const string TransactionIntegrityConstraintViolation = "40002"
Field Value
TransactionResolutionUnknown
public const string TransactionResolutionUnknown = "08007"
Field Value
TransactionRollback
public const string TransactionRollback = "40000"
Field Value
TriggerProtocolViolatedExternalRoutineInvocationException
public const string TriggerProtocolViolatedExternalRoutineInvocationException = "39P01"
Field Value
TriggeredActionException
public const string TriggeredActionException = "09000"
Field Value
TriggeredDataChangeViolation
public const string TriggeredDataChangeViolation = "27000"
Field Value
TrimError
public const string TrimError = "22027"
Field Value
UndefinedColumn
public const string UndefinedColumn = "42703"
Field Value
UndefinedFile
public const string UndefinedFile = "58P01"
Field Value
UndefinedFunction
public const string UndefinedFunction = "42883"
Field Value
UndefinedObject
public const string UndefinedObject = "42704"
Field Value
UndefinedParameter
public const string UndefinedParameter = "42P02"
Field Value
UndefinedTable
public const string UndefinedTable = "42P01"
Field Value
UniqueViolation
public const string UniqueViolation = "23505"
Field Value
UnterminatedCString
public const string UnterminatedCString = "22024"
Field Value
UntranslatableCharacter
public const string UntranslatableCharacter = "22P05"
Field Value
Warning
public const string Warning = "01000"
Field Value
WindowingError
public const string WindowingError = "42P20"
Field Value
WithCheckOptionViolation
public const string WithCheckOptionViolation = "44000"
Field Value
WrongObjectType
public const string WrongObjectType = "42809"
Field Value
ZeroLengthCharacterString
public const string ZeroLengthCharacterString = "2200F"