Search Results for

    Show / Hide Table of Contents

    Class PostgresErrorCodes

    Provides constants for PostgreSQL error codes.

    Inheritance
    Object
    PostgresErrorCodes
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public static class PostgresErrorCodes
    Remarks

    See http://www.postgresql.org/docs/current/static/errcodes-appendix.html

    Fields

    | Improve this Doc

    ActiveSqlTransaction

    Declaration
    public const string ActiveSqlTransaction = "25001"
    Field Value
    Type Description
    String
    | Improve this Doc

    AdminShutdown

    Declaration
    public const string AdminShutdown = "57P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    AmbiguousAlias

    Declaration
    public const string AmbiguousAlias = "42P09"
    Field Value
    Type Description
    String
    | Improve this Doc

    AmbiguousColumn

    Declaration
    public const string AmbiguousColumn = "42702"
    Field Value
    Type Description
    String
    | Improve this Doc

    AmbiguousFunction

    Declaration
    public const string AmbiguousFunction = "42725"
    Field Value
    Type Description
    String
    | Improve this Doc

    AmbiguousParameter

    Declaration
    public const string AmbiguousParameter = "42P08"
    Field Value
    Type Description
    String
    | Improve this Doc

    ArraySubscriptError

    Declaration
    public const string ArraySubscriptError = "2202E"
    Field Value
    Type Description
    String
    | Improve this Doc

    AssertFailure

    Declaration
    public const string AssertFailure = "P0004"
    Field Value
    Type Description
    String
    | Improve this Doc

    BadCopyFileFormat

    Declaration
    public const string BadCopyFileFormat = "22P04"
    Field Value
    Type Description
    String
    | Improve this Doc

    BranchTransactionAlreadyActive

    Declaration
    public const string BranchTransactionAlreadyActive = "25002"
    Field Value
    Type Description
    String
    | Improve this Doc

    CannotCoerce

    Declaration
    public const string CannotCoerce = "42846"
    Field Value
    Type Description
    String
    | Improve this Doc

    CannotConnectNow

    Declaration
    public const string CannotConnectNow = "57P03"
    Field Value
    Type Description
    String
    | Improve this Doc

    CantChangeRuntimeParam

    Declaration
    public const string CantChangeRuntimeParam = "55P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    CardinalityViolation

    Declaration
    public const string CardinalityViolation = "21000"
    Field Value
    Type Description
    String
    | Improve this Doc

    CaseNotFound

    Declaration
    public const string CaseNotFound = "20000"
    Field Value
    Type Description
    String
    | Improve this Doc

    CharacterNotInRepertoire

    Declaration
    public const string CharacterNotInRepertoire = "22021"
    Field Value
    Type Description
    String
    | Improve this Doc

    CheckViolation

    Declaration
    public const string CheckViolation = "23514"
    Field Value
    Type Description
    String
    | Improve this Doc

    CollationMismatch

    Declaration
    public const string CollationMismatch = "42P21"
    Field Value
    Type Description
    String
    | Improve this Doc

    ConfigFileError

    Declaration
    public const string ConfigFileError = "F0000"
    Field Value
    Type Description
    String
    | Improve this Doc

    ConfigurationLimitExceeded

    Declaration
    public const string ConfigurationLimitExceeded = "53400"
    Field Value
    Type Description
    String
    | Improve this Doc

    ConnectionDoesNotExist

    Declaration
    public const string ConnectionDoesNotExist = "08003"
    Field Value
    Type Description
    String
    | Improve this Doc

    ConnectionException

    Declaration
    public const string ConnectionException = "08000"
    Field Value
    Type Description
    String
    | Improve this Doc

    ConnectionFailure

    Declaration
    public const string ConnectionFailure = "08006"
    Field Value
    Type Description
    String
    | Improve this Doc

    ContainingSqlNotPermittedExternalRoutineException

    Declaration
    public const string ContainingSqlNotPermittedExternalRoutineException = "38001"
    Field Value
    Type Description
    String
    | Improve this Doc

    CrashShutdown

    Declaration
    public const string CrashShutdown = "57P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    DatabaseDropped

    Declaration
    public const string DatabaseDropped = "57P04"
    Field Value
    Type Description
    String
    | Improve this Doc

    DataCorrupted

    Declaration
    public const string DataCorrupted = "XX001"
    Field Value
    Type Description
    String
    | Improve this Doc

    DataException

    Declaration
    public const string DataException = "22000"
    Field Value
    Type Description
    String
    | Improve this Doc

    DatatypeMismatch

    Declaration
    public const string DatatypeMismatch = "42804"
    Field Value
    Type Description
    String
    | Improve this Doc

    DatetimeFieldOverflow

    Declaration
    public const string DatetimeFieldOverflow = "22008"
    Field Value
    Type Description
    String
    | Improve this Doc

    DeadlockDetected

    Declaration
    public const string DeadlockDetected = "40P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    DependentObjectsStillExist

    Declaration
    public const string DependentObjectsStillExist = "2BP01"
    Field Value
    Type Description
    String
    | Improve this Doc

    DependentPrivilegeDescriptorsStillExist

    Declaration
    public const string DependentPrivilegeDescriptorsStillExist = "2B000"
    Field Value
    Type Description
    String
    | Improve this Doc

    DeprecatedFeatureWarning

    Declaration
    public const string DeprecatedFeatureWarning = "01P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    DiagnosticsException

    Declaration
    public const string DiagnosticsException = "0Z000"
    Field Value
    Type Description
    String
    | Improve this Doc

    DiskFull

    Declaration
    public const string DiskFull = "53100"
    Field Value
    Type Description
    String
    | Improve this Doc

    DivisionByZero

    Declaration
    public const string DivisionByZero = "22012"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateAlias

    Declaration
    public const string DuplicateAlias = "42712"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateColumn

    Declaration
    public const string DuplicateColumn = "42701"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateCursor

    Declaration
    public const string DuplicateCursor = "42P03"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateDatabase

    Declaration
    public const string DuplicateDatabase = "42P04"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateFile

    Declaration
    public const string DuplicateFile = "58P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateFunction

    Declaration
    public const string DuplicateFunction = "42723"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateObject

    Declaration
    public const string DuplicateObject = "42710"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicatePreparedStatement

    Declaration
    public const string DuplicatePreparedStatement = "42P05"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateSchema

    Declaration
    public const string DuplicateSchema = "42P06"
    Field Value
    Type Description
    String
    | Improve this Doc

    DuplicateTable

    Declaration
    public const string DuplicateTable = "42P07"
    Field Value
    Type Description
    String
    | Improve this Doc

    DynamicResultSetsReturnedWarning

    Declaration
    public const string DynamicResultSetsReturnedWarning = "0100C"
    Field Value
    Type Description
    String
    | Improve this Doc

    ErrorInAssignment

    Declaration
    public const string ErrorInAssignment = "22005"
    Field Value
    Type Description
    String
    | Improve this Doc

    EscapeCharacterConflict

    Declaration
    public const string EscapeCharacterConflict = "2200B"
    Field Value
    Type Description
    String
    | Improve this Doc

    EventTriggerProtocolViolatedExternalRoutineInvocationException

    Declaration
    public const string EventTriggerProtocolViolatedExternalRoutineInvocationException = "39P03"
    Field Value
    Type Description
    String
    | Improve this Doc

    ExclusionViolation

    Declaration
    public const string ExclusionViolation = "23P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    ExternalRoutineException

    Declaration
    public const string ExternalRoutineException = "38000"
    Field Value
    Type Description
    String
    | Improve this Doc

    ExternalRoutineInvocationException

    Declaration
    public const string ExternalRoutineInvocationException = "39000"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwColumnNameNotFound

    Declaration
    public const string FdwColumnNameNotFound = "HV005"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwDynamicParameterValueNeeded

    Declaration
    public const string FdwDynamicParameterValueNeeded = "HV002"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwError

    Declaration
    public const string FdwError = "HV000"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwFunctionSequenceError

    Declaration
    public const string FdwFunctionSequenceError = "HV010"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInconsistentDescriptorInformation

    Declaration
    public const string FdwInconsistentDescriptorInformation = "HV021"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidAttributeValue

    Declaration
    public const string FdwInvalidAttributeValue = "HV024"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidColumnName

    Declaration
    public const string FdwInvalidColumnName = "HV007"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidColumnNumber

    Declaration
    public const string FdwInvalidColumnNumber = "HV008"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidDataType

    Declaration
    public const string FdwInvalidDataType = "HV004"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidDataTypeDescriptors

    Declaration
    public const string FdwInvalidDataTypeDescriptors = "HV006"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidDescriptorFieldIdentifier

    Declaration
    public const string FdwInvalidDescriptorFieldIdentifier = "HV091"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidHandle

    Declaration
    public const string FdwInvalidHandle = "HV00B"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidOptionIndex

    Declaration
    public const string FdwInvalidOptionIndex = "HV00C"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidOptionName

    Declaration
    public const string FdwInvalidOptionName = "HV00D"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidStringFormat

    Declaration
    public const string FdwInvalidStringFormat = "HV00A"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidStringLengthOrBufferLength

    Declaration
    public const string FdwInvalidStringLengthOrBufferLength = "HV090"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwInvalidUseOfNullPointer

    Declaration
    public const string FdwInvalidUseOfNullPointer = "HV009"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwNoSchemas

    Declaration
    public const string FdwNoSchemas = "HV00P"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwOptionNameNotFound

    Declaration
    public const string FdwOptionNameNotFound = "HV00J"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwOutOfMemory

    Declaration
    public const string FdwOutOfMemory = "HV001"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwReplyHandle

    Declaration
    public const string FdwReplyHandle = "HV00K"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwSchemaNotFound

    Declaration
    public const string FdwSchemaNotFound = "HV00Q"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwTableNotFound

    Declaration
    public const string FdwTableNotFound = "HV00R"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwTooManyHandles

    Declaration
    public const string FdwTooManyHandles = "HV014"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwUnableToCreateExecution

    Declaration
    public const string FdwUnableToCreateExecution = "HV00L"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwUnableToCreateReply

    Declaration
    public const string FdwUnableToCreateReply = "HV00M"
    Field Value
    Type Description
    String
    | Improve this Doc

    FdwUnableToEstablishConnection

    Declaration
    public const string FdwUnableToEstablishConnection = "HV00N"
    Field Value
    Type Description
    String
    | Improve this Doc

    FeatureNotSupported

    Declaration
    public const string FeatureNotSupported = "0A000"
    Field Value
    Type Description
    String
    | Improve this Doc

    FloatingPointException

    Declaration
    public const string FloatingPointException = "22P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    ForeignKeyViolation

    Declaration
    public const string ForeignKeyViolation = "23503"
    Field Value
    Type Description
    String
    | Improve this Doc

    FunctionExecutedNoReturnStatementSqlRoutineException

    Declaration
    public const string FunctionExecutedNoReturnStatementSqlRoutineException = "2F005"
    Field Value
    Type Description
    String
    | Improve this Doc

    GroupingError

    Declaration
    public const string GroupingError = "42803"
    Field Value
    Type Description
    String
    | Improve this Doc

    HeldCursorRequiresSameIsolationLevel

    Declaration
    public const string HeldCursorRequiresSameIsolationLevel = "25008"
    Field Value
    Type Description
    String
    | Improve this Doc

    ImplicitZeroBitPaddingWarning

    Declaration
    public const string ImplicitZeroBitPaddingWarning = "01008"
    Field Value
    Type Description
    String
    | Improve this Doc

    InappropriateAccessModeForBranchTransaction

    Declaration
    public const string InappropriateAccessModeForBranchTransaction = "25003"
    Field Value
    Type Description
    String
    | Improve this Doc

    InappropriateIsolationLevelForBranchTransaction

    Declaration
    public const string InappropriateIsolationLevelForBranchTransaction = "25004"
    Field Value
    Type Description
    String
    | Improve this Doc

    IndeterminateCollation

    Declaration
    public const string IndeterminateCollation = "42P22"
    Field Value
    Type Description
    String
    | Improve this Doc

    IndeterminateDatatype

    Declaration
    public const string IndeterminateDatatype = "42P18"
    Field Value
    Type Description
    String
    | Improve this Doc

    IndexCorrupted

    Declaration
    public const string IndexCorrupted = "XX002"
    Field Value
    Type Description
    String
    | Improve this Doc

    IndicatorOverflow

    Declaration
    public const string IndicatorOverflow = "22022"
    Field Value
    Type Description
    String
    | Improve this Doc

    InFailedSqlTransaction

    Declaration
    public const string InFailedSqlTransaction = "25P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    InsufficientPrivilege

    Declaration
    public const string InsufficientPrivilege = "42501"
    Field Value
    Type Description
    String
    | Improve this Doc

    InsufficientResources

    Declaration
    public const string InsufficientResources = "53000"
    Field Value
    Type Description
    String
    | Improve this Doc

    IntegrityConstraintViolation

    Declaration
    public const string IntegrityConstraintViolation = "23000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InternalError

    Declaration
    public const string InternalError = "XX000"
    Field Value
    Type Description
    String
    | Improve this Doc

    IntervalFieldOverflow

    Declaration
    public const string IntervalFieldOverflow = "22015"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidArgumentForLogarithm

    Declaration
    public const string InvalidArgumentForLogarithm = "2201E"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidArgumentForNthValueFunction

    Declaration
    public const string InvalidArgumentForNthValueFunction = "22016"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidArgumentForNtileFunction

    Declaration
    public const string InvalidArgumentForNtileFunction = "22014"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidArgumentForPowerFunction

    Declaration
    public const string InvalidArgumentForPowerFunction = "2201F"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidArgumentForWidthBucketFunction

    Declaration
    public const string InvalidArgumentForWidthBucketFunction = "2201G"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidAuthorizationSpecification

    Declaration
    public const string InvalidAuthorizationSpecification = "28000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidBinaryRepresentation

    Declaration
    public const string InvalidBinaryRepresentation = "22P03"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidCatalogName

    Declaration
    public const string InvalidCatalogName = "3D000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidCharacterValueForCast

    Declaration
    public const string InvalidCharacterValueForCast = "22018"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidColumnDefinition

    Declaration
    public const string InvalidColumnDefinition = "42611"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidColumnReference

    Declaration
    public const string InvalidColumnReference = "42P10"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidCursorDefinition

    Declaration
    public const string InvalidCursorDefinition = "42P11"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidCursorName

    Declaration
    public const string InvalidCursorName = "34000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidCursorState

    Declaration
    public const string InvalidCursorState = "24000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidDatabaseDefinition

    Declaration
    public const string InvalidDatabaseDefinition = "42P12"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidDatetimeFormat

    Declaration
    public const string InvalidDatetimeFormat = "22007"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidEscapeCharacter

    Declaration
    public const string InvalidEscapeCharacter = "22019"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidEscapeOctet

    Declaration
    public const string InvalidEscapeOctet = "2200D"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidEscapeSequence

    Declaration
    public const string InvalidEscapeSequence = "22025"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidForeignKey

    Declaration
    public const string InvalidForeignKey = "42830"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidFunctionDefinition

    Declaration
    public const string InvalidFunctionDefinition = "42P13"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidGrantOperation

    Declaration
    public const string InvalidGrantOperation = "0LP01"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidGrantor

    Declaration
    public const string InvalidGrantor = "0L000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidIndicatorParameterValue

    Declaration
    public const string InvalidIndicatorParameterValue = "22010"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidLocatorSpecification

    Declaration
    public const string InvalidLocatorSpecification = "0F001"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidName

    Declaration
    public const string InvalidName = "42602"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidObjectDefinition

    Declaration
    public const string InvalidObjectDefinition = "42P17"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidParameterValue

    Declaration
    public const string InvalidParameterValue = "22023"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidPassword

    Declaration
    public const string InvalidPassword = "28P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidPreparedStatementDefinition

    Declaration
    public const string InvalidPreparedStatementDefinition = "42P14"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidRecursion

    Declaration
    public const string InvalidRecursion = "42P19"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidRegularExpression

    Declaration
    public const string InvalidRegularExpression = "2201B"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidRoleSpecification

    Declaration
    public const string InvalidRoleSpecification = "0P000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidRowCountInLimitClause

    Declaration
    public const string InvalidRowCountInLimitClause = "2201W"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidRowCountInResultOffsetClause

    Declaration
    public const string InvalidRowCountInResultOffsetClause = "2201X"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidSavepointSpecification

    Declaration
    public const string InvalidSavepointSpecification = "3B001"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidSchemaDefinition

    Declaration
    public const string InvalidSchemaDefinition = "42P15"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidSchemaName

    Declaration
    public const string InvalidSchemaName = "3F000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidSqlStatementName

    Declaration
    public const string InvalidSqlStatementName = "26000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidSqlstateReturnedExternalRoutineInvocationException

    Declaration
    public const string InvalidSqlstateReturnedExternalRoutineInvocationException = "39001"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTableDefinition

    Declaration
    public const string InvalidTableDefinition = "42P16"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTablesampleArgument

    Declaration
    public const string InvalidTablesampleArgument = "2202H"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTablesampleRepeat

    Declaration
    public const string InvalidTablesampleRepeat = "2202G"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTextRepresentation

    Declaration
    public const string InvalidTextRepresentation = "22P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTimeZoneDisplacementValue

    Declaration
    public const string InvalidTimeZoneDisplacementValue = "22009"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTransactionInitiation

    Declaration
    public const string InvalidTransactionInitiation = "0B000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTransactionState

    Declaration
    public const string InvalidTransactionState = "25000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidTransactionTermination

    Declaration
    public const string InvalidTransactionTermination = "2D000"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidUseOfEscapeCharacter

    Declaration
    public const string InvalidUseOfEscapeCharacter = "2200C"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidXmlComment

    Declaration
    public const string InvalidXmlComment = "2200S"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidXmlContent

    Declaration
    public const string InvalidXmlContent = "2200N"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidXmlDocument

    Declaration
    public const string InvalidXmlDocument = "2200M"
    Field Value
    Type Description
    String
    | Improve this Doc

    InvalidXmlProcessingInstruction

    Declaration
    public const string InvalidXmlProcessingInstruction = "2200T"
    Field Value
    Type Description
    String
    | Improve this Doc

    IoError

    Declaration
    public const string IoError = "58030"
    Field Value
    Type Description
    String
    | Improve this Doc

    LocatorException

    Declaration
    public const string LocatorException = "0F000"
    Field Value
    Type Description
    String
    | Improve this Doc

    LockFileExists

    Declaration
    public const string LockFileExists = "F0001"
    Field Value
    Type Description
    String
    | Improve this Doc

    LockNotAvailable

    Declaration
    public const string LockNotAvailable = "55P03"
    Field Value
    Type Description
    String
    | Improve this Doc

    ModifyingSqlDataNotPermittedExternalRoutineException

    Declaration
    public const string ModifyingSqlDataNotPermittedExternalRoutineException = "38002"
    Field Value
    Type Description
    String
    | Improve this Doc

    ModifyingSqlDataNotPermittedSqlRoutineException

    Declaration
    public const string ModifyingSqlDataNotPermittedSqlRoutineException = "2F002"
    Field Value
    Type Description
    String
    | Improve this Doc

    MostSpecificTypeMismatch

    Declaration
    public const string MostSpecificTypeMismatch = "2200G"
    Field Value
    Type Description
    String
    | Improve this Doc

    NameTooLong

    Declaration
    public const string NameTooLong = "42622"
    Field Value
    Type Description
    String
    | Improve this Doc

    NoActiveSqlTransaction

    Declaration
    public const string NoActiveSqlTransaction = "25P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    NoActiveSqlTransactionForBranchTransaction

    Declaration
    public const string NoActiveSqlTransactionForBranchTransaction = "25005"
    Field Value
    Type Description
    String
    | Improve this Doc

    NoAdditionalDynamicResultSetsReturned

    Declaration
    public const string NoAdditionalDynamicResultSetsReturned = "02001"
    Field Value
    Type Description
    String
    | Improve this Doc

    NoData

    Declaration
    public const string NoData = "02000"
    Field Value
    Type Description
    String
    | Improve this Doc

    NoDataFound

    Declaration
    public const string NoDataFound = "P0002"
    Field Value
    Type Description
    String
    | Improve this Doc

    NonstandardUseOfEscapeCharacter

    Declaration
    public const string NonstandardUseOfEscapeCharacter = "22P06"
    Field Value
    Type Description
    String
    | Improve this Doc

    NotAnXmlDocument

    Declaration
    public const string NotAnXmlDocument = "2200L"
    Field Value
    Type Description
    String
    | Improve this Doc

    NotNullViolation

    Declaration
    public const string NotNullViolation = "23502"
    Field Value
    Type Description
    String
    | Improve this Doc

    NullValueEliminatedInSetFunctionWarning

    Declaration
    public const string NullValueEliminatedInSetFunctionWarning = "01003"
    Field Value
    Type Description
    String
    | Improve this Doc

    NullValueNoIndicatorParameter

    Declaration
    public const string NullValueNoIndicatorParameter = "22002"
    Field Value
    Type Description
    String
    | Improve this Doc

    NullValueNotAllowed

    Declaration
    public const string NullValueNotAllowed = "22004"
    Field Value
    Type Description
    String
    | Improve this Doc

    NullValueNotAllowedExternalRoutineInvocationException

    Declaration
    public const string NullValueNotAllowedExternalRoutineInvocationException = "39004"
    Field Value
    Type Description
    String
    | Improve this Doc

    NumericValueOutOfRange

    Declaration
    public const string NumericValueOutOfRange = "22003"
    Field Value
    Type Description
    String
    | Improve this Doc

    ObjectInUse

    Declaration
    public const string ObjectInUse = "55006"
    Field Value
    Type Description
    String
    | Improve this Doc

    ObjectNotInPrerequisiteState

    Declaration
    public const string ObjectNotInPrerequisiteState = "55000"
    Field Value
    Type Description
    String
    | Improve this Doc

    OperatorIntervention

    Declaration
    public const string OperatorIntervention = "57000"
    Field Value
    Type Description
    String
    | Improve this Doc

    OutOfMemory

    Declaration
    public const string OutOfMemory = "53200"
    Field Value
    Type Description
    String
    | Improve this Doc

    PlpgsqlError

    Declaration
    public const string PlpgsqlError = "P0000"
    Field Value
    Type Description
    String
    | Improve this Doc

    PrivilegeNotGrantedWarning

    Declaration
    public const string PrivilegeNotGrantedWarning = "01007"
    Field Value
    Type Description
    String
    | Improve this Doc

    PrivilegeNotRevokedWarning

    Declaration
    public const string PrivilegeNotRevokedWarning = "01006"
    Field Value
    Type Description
    String
    | Improve this Doc

    ProgramLimitExceeded

    Declaration
    public const string ProgramLimitExceeded = "54000"
    Field Value
    Type Description
    String
    | Improve this Doc

    ProhibitedSqlStatementAttemptedExternalRoutineException

    Declaration
    public const string ProhibitedSqlStatementAttemptedExternalRoutineException = "38003"
    Field Value
    Type Description
    String
    | Improve this Doc

    ProhibitedSqlStatementAttemptedSqlRoutineException

    Declaration
    public const string ProhibitedSqlStatementAttemptedSqlRoutineException = "2F003"
    Field Value
    Type Description
    String
    | Improve this Doc

    ProtocolViolation

    Declaration
    public const string ProtocolViolation = "08P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    QueryCanceled

    Declaration
    public const string QueryCanceled = "57014"
    Field Value
    Type Description
    String
    | Improve this Doc

    RaiseException

    Declaration
    public const string RaiseException = "P0001"
    Field Value
    Type Description
    String
    | Improve this Doc

    ReadingSqlDataNotPermittedExternalRoutineException

    Declaration
    public const string ReadingSqlDataNotPermittedExternalRoutineException = "38004"
    Field Value
    Type Description
    String
    | Improve this Doc

    ReadingSqlDataNotPermittedSqlRoutineException

    Declaration
    public const string ReadingSqlDataNotPermittedSqlRoutineException = "2F004"
    Field Value
    Type Description
    String
    | Improve this Doc

    ReadOnlySqlTransaction

    Declaration
    public const string ReadOnlySqlTransaction = "25006"
    Field Value
    Type Description
    String
    | Improve this Doc

    ReservedName

    Declaration
    public const string ReservedName = "42939"
    Field Value
    Type Description
    String
    | Improve this Doc

    RestrictViolation

    Declaration
    public const string RestrictViolation = "23001"
    Field Value
    Type Description
    String
    | Improve this Doc

    SavepointException

    Declaration
    public const string SavepointException = "3B000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SchemaAndDataStatementMixingNotSupported

    Declaration
    public const string SchemaAndDataStatementMixingNotSupported = "25007"
    Field Value
    Type Description
    String
    | Improve this Doc

    SerializationFailure

    Declaration
    public const string SerializationFailure = "40001"
    Field Value
    Type Description
    String
    | Improve this Doc

    SnapshotFailure

    Declaration
    public const string SnapshotFailure = "72000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SqlClientUnableToEstablishSqlConnection

    Declaration
    public const string SqlClientUnableToEstablishSqlConnection = "08001"
    Field Value
    Type Description
    String
    | Improve this Doc

    SqlRoutineException

    Declaration
    public const string SqlRoutineException = "2F000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SqlServerRejectedEstablishmentOfSqlConnection

    Declaration
    public const string SqlServerRejectedEstablishmentOfSqlConnection = "08004"
    Field Value
    Type Description
    String
    | Improve this Doc

    SqlStatementNotYetComplete

    Declaration
    public const string SqlStatementNotYetComplete = "03000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SrfProtocolViolatedExternalRoutineInvocationException

    Declaration
    public const string SrfProtocolViolatedExternalRoutineInvocationException = "39P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    StackedDiagnosticsAccessedWithoutActiveHandler

    Declaration
    public const string StackedDiagnosticsAccessedWithoutActiveHandler = "0Z002"
    Field Value
    Type Description
    String
    | Improve this Doc

    StatementCompletionUnknown

    Declaration
    public const string StatementCompletionUnknown = "40003"
    Field Value
    Type Description
    String
    | Improve this Doc

    StatementTooComplex

    Declaration
    public const string StatementTooComplex = "54001"
    Field Value
    Type Description
    String
    | Improve this Doc

    StringDataLengthMismatch

    Declaration
    public const string StringDataLengthMismatch = "22026"
    Field Value
    Type Description
    String
    | Improve this Doc

    StringDataRightTruncation

    Declaration
    public const string StringDataRightTruncation = "22001"
    Field Value
    Type Description
    String
    | Improve this Doc

    StringDataRightTruncationWarning

    Declaration
    public const string StringDataRightTruncationWarning = "01004"
    Field Value
    Type Description
    String
    | Improve this Doc

    SubstringError

    Declaration
    public const string SubstringError = "22011"
    Field Value
    Type Description
    String
    | Improve this Doc

    SuccessfulCompletion

    Declaration
    public const string SuccessfulCompletion = "00000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SyntaxError

    Declaration
    public const string SyntaxError = "42601"
    Field Value
    Type Description
    String
    | Improve this Doc

    SyntaxErrorOrAccessRuleViolation

    Declaration
    public const string SyntaxErrorOrAccessRuleViolation = "42000"
    Field Value
    Type Description
    String
    | Improve this Doc

    SystemError

    Declaration
    public const string SystemError = "58000"
    Field Value
    Type Description
    String
    | Improve this Doc

    TooManyArguments

    Declaration
    public const string TooManyArguments = "54023"
    Field Value
    Type Description
    String
    | Improve this Doc

    TooManyColumns

    Declaration
    public const string TooManyColumns = "54011"
    Field Value
    Type Description
    String
    | Improve this Doc

    TooManyConnections

    Declaration
    public const string TooManyConnections = "53300"
    Field Value
    Type Description
    String
    | Improve this Doc

    TooManyRows

    Declaration
    public const string TooManyRows = "P0003"
    Field Value
    Type Description
    String
    | Improve this Doc

    TransactionIntegrityConstraintViolation

    Declaration
    public const string TransactionIntegrityConstraintViolation = "40002"
    Field Value
    Type Description
    String
    | Improve this Doc

    TransactionResolutionUnknown

    Declaration
    public const string TransactionResolutionUnknown = "08007"
    Field Value
    Type Description
    String
    | Improve this Doc

    TransactionRollback

    Declaration
    public const string TransactionRollback = "40000"
    Field Value
    Type Description
    String
    | Improve this Doc

    TriggeredActionException

    Declaration
    public const string TriggeredActionException = "09000"
    Field Value
    Type Description
    String
    | Improve this Doc

    TriggeredDataChangeViolation

    Declaration
    public const string TriggeredDataChangeViolation = "27000"
    Field Value
    Type Description
    String
    | Improve this Doc

    TriggerProtocolViolatedExternalRoutineInvocationException

    Declaration
    public const string TriggerProtocolViolatedExternalRoutineInvocationException = "39P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    TrimError

    Declaration
    public const string TrimError = "22027"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedColumn

    Declaration
    public const string UndefinedColumn = "42703"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedFile

    Declaration
    public const string UndefinedFile = "58P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedFunction

    Declaration
    public const string UndefinedFunction = "42883"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedObject

    Declaration
    public const string UndefinedObject = "42704"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedParameter

    Declaration
    public const string UndefinedParameter = "42P02"
    Field Value
    Type Description
    String
    | Improve this Doc

    UndefinedTable

    Declaration
    public const string UndefinedTable = "42P01"
    Field Value
    Type Description
    String
    | Improve this Doc

    UniqueViolation

    Declaration
    public const string UniqueViolation = "23505"
    Field Value
    Type Description
    String
    | Improve this Doc

    UnterminatedCString

    Declaration
    public const string UnterminatedCString = "22024"
    Field Value
    Type Description
    String
    | Improve this Doc

    UntranslatableCharacter

    Declaration
    public const string UntranslatableCharacter = "22P05"
    Field Value
    Type Description
    String
    | Improve this Doc

    Warning

    Declaration
    public const string Warning = "01000"
    Field Value
    Type Description
    String
    | Improve this Doc

    WindowingError

    Declaration
    public const string WindowingError = "42P20"
    Field Value
    Type Description
    String
    | Improve this Doc

    WithCheckOptionViolation

    Declaration
    public const string WithCheckOptionViolation = "44000"
    Field Value
    Type Description
    String
    | Improve this Doc

    WrongObjectType

    Declaration
    public const string WrongObjectType = "42809"
    Field Value
    Type Description
    String
    | Improve this Doc

    ZeroLengthCharacterString

    Declaration
    public const string ZeroLengthCharacterString = "2200F"
    Field Value
    Type Description
    String
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team