PgSqlStates
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Provides named PostgreSQL SQLSTATE strings for error reporting, diagnostics and exception filters.
public static class PgSqlStatesIncludes the union of the PostgreSQL 13 through 18 and 19 RC1 catalogs, including aliases and retired names. A constant does not imply that its associated server feature exists in every PostgreSQL version. These names supplement the string-based diagnostic APIs; extension-specific SQLSTATE strings remain supported.
Inheritance: object
Fields
Section titled “Fields”ActiveSqlTransaction
Section titled “ActiveSqlTransaction”The PostgreSQL active_sql_transaction SQLSTATE (25001).
public const string ActiveSqlTransaction = "25001"PostgreSQL macro ERRCODE_ACTIVE_SQL_TRANSACTION.
AdminShutdown
Section titled “AdminShutdown”The PostgreSQL admin_shutdown SQLSTATE (57P01).
public const string AdminShutdown = "57P01"PostgreSQL macro ERRCODE_ADMIN_SHUTDOWN.
AmbiguousAlias
Section titled “AmbiguousAlias”The PostgreSQL ambiguous_alias SQLSTATE (42P09).
public const string AmbiguousAlias = "42P09"PostgreSQL macro ERRCODE_AMBIGUOUS_ALIAS.
AmbiguousColumn
Section titled “AmbiguousColumn”The PostgreSQL ambiguous_column SQLSTATE (42702).
public const string AmbiguousColumn = "42702"PostgreSQL macro ERRCODE_AMBIGUOUS_COLUMN.
AmbiguousFunction
Section titled “AmbiguousFunction”The PostgreSQL ambiguous_function SQLSTATE (42725).
public const string AmbiguousFunction = "42725"PostgreSQL macro ERRCODE_AMBIGUOUS_FUNCTION.
AmbiguousParameter
Section titled “AmbiguousParameter”The PostgreSQL ambiguous_parameter SQLSTATE (42P08).
public const string AmbiguousParameter = "42P08"PostgreSQL macro ERRCODE_AMBIGUOUS_PARAMETER.
ArrayElementError
Section titled “ArrayElementError”The PostgreSQL array_element_error SQLSTATE (2202E).
public const string ArrayElementError = "2202E"PostgreSQL macro ERRCODE_ARRAY_ELEMENT_ERROR.
ArraySubscriptError
Section titled “ArraySubscriptError”The PostgreSQL array_subscript_error SQLSTATE (2202E).
public const string ArraySubscriptError = "2202E"PostgreSQL macro ERRCODE_ARRAY_SUBSCRIPT_ERROR.
AssertFailure
Section titled “AssertFailure”The PostgreSQL assert_failure SQLSTATE (P0004).
public const string AssertFailure = "P0004"PostgreSQL macro ERRCODE_ASSERT_FAILURE.
BadCopyFileFormat
Section titled “BadCopyFileFormat”The PostgreSQL bad_copy_file_format SQLSTATE (22P04).
public const string BadCopyFileFormat = "22P04"PostgreSQL macro ERRCODE_BAD_COPY_FILE_FORMAT.
BranchTransactionAlreadyActive
Section titled “BranchTransactionAlreadyActive”The PostgreSQL branch_transaction_already_active SQLSTATE (25002).
public const string BranchTransactionAlreadyActive = "25002"PostgreSQL macro ERRCODE_BRANCH_TRANSACTION_ALREADY_ACTIVE.
CannotCoerce
Section titled “CannotCoerce”The PostgreSQL cannot_coerce SQLSTATE (42846).
public const string CannotCoerce = "42846"PostgreSQL macro ERRCODE_CANNOT_COERCE.
CannotConnectNow
Section titled “CannotConnectNow”The PostgreSQL cannot_connect_now SQLSTATE (57P03).
public const string CannotConnectNow = "57P03"PostgreSQL macro ERRCODE_CANNOT_CONNECT_NOW.
CantChangeRuntimeParam
Section titled “CantChangeRuntimeParam”The PostgreSQL cant_change_runtime_param SQLSTATE (55P02).
public const string CantChangeRuntimeParam = "55P02"PostgreSQL macro ERRCODE_CANT_CHANGE_RUNTIME_PARAM.
CardinalityViolation
Section titled “CardinalityViolation”The PostgreSQL cardinality_violation SQLSTATE (21000).
public const string CardinalityViolation = "21000"PostgreSQL macro ERRCODE_CARDINALITY_VIOLATION.
CaseNotFound
Section titled “CaseNotFound”The PostgreSQL case_not_found SQLSTATE (20000).
public const string CaseNotFound = "20000"PostgreSQL macro ERRCODE_CASE_NOT_FOUND.
CharacterNotInRepertoire
Section titled “CharacterNotInRepertoire”The PostgreSQL character_not_in_repertoire SQLSTATE (22021).
public const string CharacterNotInRepertoire = "22021"PostgreSQL macro ERRCODE_CHARACTER_NOT_IN_REPERTOIRE.
CheckViolation
Section titled “CheckViolation”The PostgreSQL check_violation SQLSTATE (23514).
public const string CheckViolation = "23514"PostgreSQL macro ERRCODE_CHECK_VIOLATION.
CollationMismatch
Section titled “CollationMismatch”The PostgreSQL collation_mismatch SQLSTATE (42P21).
public const string CollationMismatch = "42P21"PostgreSQL macro ERRCODE_COLLATION_MISMATCH.
ConfigFileError
Section titled “ConfigFileError”The PostgreSQL config_file_error SQLSTATE (F0000).
public const string ConfigFileError = "F0000"PostgreSQL macro ERRCODE_CONFIG_FILE_ERROR.
ConfigurationLimitExceeded
Section titled “ConfigurationLimitExceeded”The PostgreSQL configuration_limit_exceeded SQLSTATE (53400).
public const string ConfigurationLimitExceeded = "53400"PostgreSQL macro ERRCODE_CONFIGURATION_LIMIT_EXCEEDED.
ConnectionDoesNotExist
Section titled “ConnectionDoesNotExist”The PostgreSQL connection_does_not_exist SQLSTATE (08003).
public const string ConnectionDoesNotExist = "08003"PostgreSQL macro ERRCODE_CONNECTION_DOES_NOT_EXIST.
ConnectionException
Section titled “ConnectionException”The PostgreSQL connection_exception SQLSTATE (08000).
public const string ConnectionException = "08000"PostgreSQL macro ERRCODE_CONNECTION_EXCEPTION.
ConnectionFailure
Section titled “ConnectionFailure”The PostgreSQL connection_failure SQLSTATE (08006).
public const string ConnectionFailure = "08006"PostgreSQL macro ERRCODE_CONNECTION_FAILURE.
CrashShutdown
Section titled “CrashShutdown”The PostgreSQL crash_shutdown SQLSTATE (57P02).
public const string CrashShutdown = "57P02"PostgreSQL macro ERRCODE_CRASH_SHUTDOWN.
DataCorrupted
Section titled “DataCorrupted”The PostgreSQL data_corrupted SQLSTATE (XX001).
public const string DataCorrupted = "XX001"PostgreSQL macro ERRCODE_DATA_CORRUPTED.
DataException
Section titled “DataException”The PostgreSQL data_exception SQLSTATE (22000).
public const string DataException = "22000"PostgreSQL macro ERRCODE_DATA_EXCEPTION.
DatabaseDropped
Section titled “DatabaseDropped”The PostgreSQL database_dropped SQLSTATE (57P04).
public const string DatabaseDropped = "57P04"PostgreSQL macro ERRCODE_DATABASE_DROPPED.
DatatypeMismatch
Section titled “DatatypeMismatch”The PostgreSQL datatype_mismatch SQLSTATE (42804).
public const string DatatypeMismatch = "42804"PostgreSQL macro ERRCODE_DATATYPE_MISMATCH.
DatetimeFieldOverflow
Section titled “DatetimeFieldOverflow”The PostgreSQL datetime_field_overflow SQLSTATE (22008).
public const string DatetimeFieldOverflow = "22008"PostgreSQL macro ERRCODE_DATETIME_FIELD_OVERFLOW.
DatetimeValueOutOfRange
Section titled “DatetimeValueOutOfRange”The PostgreSQL datetime_value_out_of_range SQLSTATE (22008).
public const string DatetimeValueOutOfRange = "22008"PostgreSQL macro ERRCODE_DATETIME_VALUE_OUT_OF_RANGE.
DeadlockDetected
Section titled “DeadlockDetected”The PostgreSQL deadlock_detected SQLSTATE (40P01).
public const string DeadlockDetected = "40P01"PostgreSQL macro ERRCODE_T_R_DEADLOCK_DETECTED.
DependentObjectsStillExist
Section titled “DependentObjectsStillExist”The PostgreSQL dependent_objects_still_exist SQLSTATE (2BP01).
public const string DependentObjectsStillExist = "2BP01"PostgreSQL macro ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST.
DependentPrivilegeDescriptorsStillExist
Section titled “DependentPrivilegeDescriptorsStillExist”The PostgreSQL dependent_privilege_descriptors_still_exist SQLSTATE (2B000).
public const string DependentPrivilegeDescriptorsStillExist = "2B000"PostgreSQL macro ERRCODE_DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST.
DiagnosticsException
Section titled “DiagnosticsException”The PostgreSQL diagnostics_exception SQLSTATE (0Z000).
public const string DiagnosticsException = "0Z000"PostgreSQL macro ERRCODE_DIAGNOSTICS_EXCEPTION.
DiskFull
Section titled “DiskFull”The PostgreSQL disk_full SQLSTATE (53100).
public const string DiskFull = "53100"PostgreSQL macro ERRCODE_DISK_FULL.
DivisionByZero
Section titled “DivisionByZero”The PostgreSQL division_by_zero SQLSTATE (22012).
public const string DivisionByZero = "22012"PostgreSQL macro ERRCODE_DIVISION_BY_ZERO.
DuplicateAlias
Section titled “DuplicateAlias”The PostgreSQL duplicate_alias SQLSTATE (42712).
public const string DuplicateAlias = "42712"PostgreSQL macro ERRCODE_DUPLICATE_ALIAS.
DuplicateColumn
Section titled “DuplicateColumn”The PostgreSQL duplicate_column SQLSTATE (42701).
public const string DuplicateColumn = "42701"PostgreSQL macro ERRCODE_DUPLICATE_COLUMN.
DuplicateCursor
Section titled “DuplicateCursor”The PostgreSQL duplicate_cursor SQLSTATE (42P03).
public const string DuplicateCursor = "42P03"PostgreSQL macro ERRCODE_DUPLICATE_CURSOR.
DuplicateDatabase
Section titled “DuplicateDatabase”The PostgreSQL duplicate_database SQLSTATE (42P04).
public const string DuplicateDatabase = "42P04"PostgreSQL macro ERRCODE_DUPLICATE_DATABASE.
DuplicateFile
Section titled “DuplicateFile”The PostgreSQL duplicate_file SQLSTATE (58P02).
public const string DuplicateFile = "58P02"PostgreSQL macro ERRCODE_DUPLICATE_FILE.
DuplicateFunction
Section titled “DuplicateFunction”The PostgreSQL duplicate_function SQLSTATE (42723).
public const string DuplicateFunction = "42723"PostgreSQL macro ERRCODE_DUPLICATE_FUNCTION.
DuplicateJsonObjectKeyValue
Section titled “DuplicateJsonObjectKeyValue”The PostgreSQL duplicate_json_object_key_value SQLSTATE (22030).
public const string DuplicateJsonObjectKeyValue = "22030"PostgreSQL macro ERRCODE_DUPLICATE_JSON_OBJECT_KEY_VALUE.
DuplicateObject
Section titled “DuplicateObject”The PostgreSQL duplicate_object SQLSTATE (42710).
public const string DuplicateObject = "42710"PostgreSQL macro ERRCODE_DUPLICATE_OBJECT.
DuplicatePreparedStatement
Section titled “DuplicatePreparedStatement”The PostgreSQL duplicate_prepared_statement SQLSTATE (42P05).
public const string DuplicatePreparedStatement = "42P05"PostgreSQL macro ERRCODE_DUPLICATE_PSTATEMENT.
DuplicateSchema
Section titled “DuplicateSchema”The PostgreSQL duplicate_schema SQLSTATE (42P06).
public const string DuplicateSchema = "42P06"PostgreSQL macro ERRCODE_DUPLICATE_SCHEMA.
DuplicateTable
Section titled “DuplicateTable”The PostgreSQL duplicate_table SQLSTATE (42P07).
public const string DuplicateTable = "42P07"PostgreSQL macro ERRCODE_DUPLICATE_TABLE.
ErrorInAssignment
Section titled “ErrorInAssignment”The PostgreSQL error_in_assignment SQLSTATE (22005).
public const string ErrorInAssignment = "22005"PostgreSQL macro ERRCODE_ERROR_IN_ASSIGNMENT.
EscapeCharacterConflict
Section titled “EscapeCharacterConflict”The PostgreSQL escape_character_conflict SQLSTATE (2200B).
public const string EscapeCharacterConflict = "2200B"PostgreSQL macro ERRCODE_ESCAPE_CHARACTER_CONFLICT.
ExclusionViolation
Section titled “ExclusionViolation”The PostgreSQL exclusion_violation SQLSTATE (23P01).
public const string ExclusionViolation = "23P01"PostgreSQL macro ERRCODE_EXCLUSION_VIOLATION.
ExternalRoutineContainingSqlNotPermitted
Section titled “ExternalRoutineContainingSqlNotPermitted”The PostgreSQL containing_sql_not_permitted SQLSTATE (38001).
public const string ExternalRoutineContainingSqlNotPermitted = "38001"PostgreSQL macro ERRCODE_E_R_E_CONTAINING_SQL_NOT_PERMITTED.
ExternalRoutineException
Section titled “ExternalRoutineException”The PostgreSQL external_routine_exception SQLSTATE (38000).
public const string ExternalRoutineException = "38000"PostgreSQL macro ERRCODE_EXTERNAL_ROUTINE_EXCEPTION.
ExternalRoutineInvocationEventTriggerProtocolViolated
Section titled “ExternalRoutineInvocationEventTriggerProtocolViolated”The PostgreSQL event_trigger_protocol_violated SQLSTATE (39P03).
public const string ExternalRoutineInvocationEventTriggerProtocolViolated = "39P03"PostgreSQL macro ERRCODE_E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED.
ExternalRoutineInvocationException
Section titled “ExternalRoutineInvocationException”The PostgreSQL external_routine_invocation_exception SQLSTATE (39000).
public const string ExternalRoutineInvocationException = "39000"PostgreSQL macro ERRCODE_EXTERNAL_ROUTINE_INVOCATION_EXCEPTION.
ExternalRoutineInvocationInvalidSqlStateReturned
Section titled “ExternalRoutineInvocationInvalidSqlStateReturned”The PostgreSQL invalid_sqlstate_returned SQLSTATE (39001).
public const string ExternalRoutineInvocationInvalidSqlStateReturned = "39001"PostgreSQL macro ERRCODE_E_R_I_E_INVALID_SQLSTATE_RETURNED.
ExternalRoutineInvocationNullValueNotAllowed
Section titled “ExternalRoutineInvocationNullValueNotAllowed”The PostgreSQL null_value_not_allowed SQLSTATE (39004).
public const string ExternalRoutineInvocationNullValueNotAllowed = "39004"PostgreSQL macro ERRCODE_E_R_I_E_NULL_VALUE_NOT_ALLOWED.
ExternalRoutineInvocationSrfProtocolViolated
Section titled “ExternalRoutineInvocationSrfProtocolViolated”The PostgreSQL srf_protocol_violated SQLSTATE (39P02).
public const string ExternalRoutineInvocationSrfProtocolViolated = "39P02"PostgreSQL macro ERRCODE_E_R_I_E_SRF_PROTOCOL_VIOLATED.
ExternalRoutineInvocationTriggerProtocolViolated
Section titled “ExternalRoutineInvocationTriggerProtocolViolated”The PostgreSQL trigger_protocol_violated SQLSTATE (39P01).
public const string ExternalRoutineInvocationTriggerProtocolViolated = "39P01"PostgreSQL macro ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED.
ExternalRoutineModifyingSqlDataNotPermitted
Section titled “ExternalRoutineModifyingSqlDataNotPermitted”The PostgreSQL modifying_sql_data_not_permitted SQLSTATE (38002).
public const string ExternalRoutineModifyingSqlDataNotPermitted = "38002"PostgreSQL macro ERRCODE_E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED.
ExternalRoutineProhibitedSqlStatementAttempted
Section titled “ExternalRoutineProhibitedSqlStatementAttempted”The PostgreSQL prohibited_sql_statement_attempted SQLSTATE (38003).
public const string ExternalRoutineProhibitedSqlStatementAttempted = "38003"PostgreSQL macro ERRCODE_E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED.
ExternalRoutineReadingSqlDataNotPermitted
Section titled “ExternalRoutineReadingSqlDataNotPermitted”The PostgreSQL reading_sql_data_not_permitted SQLSTATE (38004).
public const string ExternalRoutineReadingSqlDataNotPermitted = "38004"PostgreSQL macro ERRCODE_E_R_E_READING_SQL_DATA_NOT_PERMITTED.
FdwColumnNameNotFound
Section titled “FdwColumnNameNotFound”The PostgreSQL fdw_column_name_not_found SQLSTATE (HV005).
public const string FdwColumnNameNotFound = "HV005"PostgreSQL macro ERRCODE_FDW_COLUMN_NAME_NOT_FOUND.
FdwDynamicParameterValueNeeded
Section titled “FdwDynamicParameterValueNeeded”The PostgreSQL fdw_dynamic_parameter_value_needed SQLSTATE (HV002).
public const string FdwDynamicParameterValueNeeded = "HV002"PostgreSQL macro ERRCODE_FDW_DYNAMIC_PARAMETER_VALUE_NEEDED.
FdwError
Section titled “FdwError”The PostgreSQL fdw_error SQLSTATE (HV000).
public const string FdwError = "HV000"PostgreSQL macro ERRCODE_FDW_ERROR.
FdwFunctionSequenceError
Section titled “FdwFunctionSequenceError”The PostgreSQL fdw_function_sequence_error SQLSTATE (HV010).
public const string FdwFunctionSequenceError = "HV010"PostgreSQL macro ERRCODE_FDW_FUNCTION_SEQUENCE_ERROR.
FdwInconsistentDescriptorInformation
Section titled “FdwInconsistentDescriptorInformation”The PostgreSQL fdw_inconsistent_descriptor_information SQLSTATE (HV021).
public const string FdwInconsistentDescriptorInformation = "HV021"PostgreSQL macro ERRCODE_FDW_INCONSISTENT_DESCRIPTOR_INFORMATION.
FdwInvalidAttributeValue
Section titled “FdwInvalidAttributeValue”The PostgreSQL fdw_invalid_attribute_value SQLSTATE (HV024).
public const string FdwInvalidAttributeValue = "HV024"PostgreSQL macro ERRCODE_FDW_INVALID_ATTRIBUTE_VALUE.
FdwInvalidColumnName
Section titled “FdwInvalidColumnName”The PostgreSQL fdw_invalid_column_name SQLSTATE (HV007).
public const string FdwInvalidColumnName = "HV007"PostgreSQL macro ERRCODE_FDW_INVALID_COLUMN_NAME.
FdwInvalidColumnNumber
Section titled “FdwInvalidColumnNumber”The PostgreSQL fdw_invalid_column_number SQLSTATE (HV008).
public const string FdwInvalidColumnNumber = "HV008"PostgreSQL macro ERRCODE_FDW_INVALID_COLUMN_NUMBER.
FdwInvalidDataType
Section titled “FdwInvalidDataType”The PostgreSQL fdw_invalid_data_type SQLSTATE (HV004).
public const string FdwInvalidDataType = "HV004"PostgreSQL macro ERRCODE_FDW_INVALID_DATA_TYPE.
FdwInvalidDataTypeDescriptors
Section titled “FdwInvalidDataTypeDescriptors”The PostgreSQL fdw_invalid_data_type_descriptors SQLSTATE (HV006).
public const string FdwInvalidDataTypeDescriptors = "HV006"PostgreSQL macro ERRCODE_FDW_INVALID_DATA_TYPE_DESCRIPTORS.
FdwInvalidDescriptorFieldIdentifier
Section titled “FdwInvalidDescriptorFieldIdentifier”The PostgreSQL fdw_invalid_descriptor_field_identifier SQLSTATE (HV091).
public const string FdwInvalidDescriptorFieldIdentifier = "HV091"PostgreSQL macro ERRCODE_FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER.
FdwInvalidHandle
Section titled “FdwInvalidHandle”The PostgreSQL fdw_invalid_handle SQLSTATE (HV00B).
public const string FdwInvalidHandle = "HV00B"PostgreSQL macro ERRCODE_FDW_INVALID_HANDLE.
FdwInvalidOptionIndex
Section titled “FdwInvalidOptionIndex”The PostgreSQL fdw_invalid_option_index SQLSTATE (HV00C).
public const string FdwInvalidOptionIndex = "HV00C"PostgreSQL macro ERRCODE_FDW_INVALID_OPTION_INDEX.
FdwInvalidOptionName
Section titled “FdwInvalidOptionName”The PostgreSQL fdw_invalid_option_name SQLSTATE (HV00D).
public const string FdwInvalidOptionName = "HV00D"PostgreSQL macro ERRCODE_FDW_INVALID_OPTION_NAME.
FdwInvalidStringFormat
Section titled “FdwInvalidStringFormat”The PostgreSQL fdw_invalid_string_format SQLSTATE (HV00A).
public const string FdwInvalidStringFormat = "HV00A"PostgreSQL macro ERRCODE_FDW_INVALID_STRING_FORMAT.
FdwInvalidStringLengthOrBufferLength
Section titled “FdwInvalidStringLengthOrBufferLength”The PostgreSQL fdw_invalid_string_length_or_buffer_length SQLSTATE (HV090).
public const string FdwInvalidStringLengthOrBufferLength = "HV090"PostgreSQL macro ERRCODE_FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH.
FdwInvalidUseOfNullPointer
Section titled “FdwInvalidUseOfNullPointer”The PostgreSQL fdw_invalid_use_of_null_pointer SQLSTATE (HV009).
public const string FdwInvalidUseOfNullPointer = "HV009"PostgreSQL macro ERRCODE_FDW_INVALID_USE_OF_NULL_POINTER.
FdwNoSchemas
Section titled “FdwNoSchemas”The PostgreSQL fdw_no_schemas SQLSTATE (HV00P).
public const string FdwNoSchemas = "HV00P"PostgreSQL macro ERRCODE_FDW_NO_SCHEMAS.
FdwOptionNameNotFound
Section titled “FdwOptionNameNotFound”The PostgreSQL fdw_option_name_not_found SQLSTATE (HV00J).
public const string FdwOptionNameNotFound = "HV00J"PostgreSQL macro ERRCODE_FDW_OPTION_NAME_NOT_FOUND.
FdwOutOfMemory
Section titled “FdwOutOfMemory”The PostgreSQL fdw_out_of_memory SQLSTATE (HV001).
public const string FdwOutOfMemory = "HV001"PostgreSQL macro ERRCODE_FDW_OUT_OF_MEMORY.
FdwReplyHandle
Section titled “FdwReplyHandle”The PostgreSQL fdw_reply_handle SQLSTATE (HV00K).
public const string FdwReplyHandle = "HV00K"PostgreSQL macro ERRCODE_FDW_REPLY_HANDLE.
FdwSchemaNotFound
Section titled “FdwSchemaNotFound”The PostgreSQL fdw_schema_not_found SQLSTATE (HV00Q).
public const string FdwSchemaNotFound = "HV00Q"PostgreSQL macro ERRCODE_FDW_SCHEMA_NOT_FOUND.
FdwTableNotFound
Section titled “FdwTableNotFound”The PostgreSQL fdw_table_not_found SQLSTATE (HV00R).
public const string FdwTableNotFound = "HV00R"PostgreSQL macro ERRCODE_FDW_TABLE_NOT_FOUND.
FdwTooManyHandles
Section titled “FdwTooManyHandles”The PostgreSQL fdw_too_many_handles SQLSTATE (HV014).
public const string FdwTooManyHandles = "HV014"PostgreSQL macro ERRCODE_FDW_TOO_MANY_HANDLES.
FdwUnableToCreateExecution
Section titled “FdwUnableToCreateExecution”The PostgreSQL fdw_unable_to_create_execution SQLSTATE (HV00L).
public const string FdwUnableToCreateExecution = "HV00L"PostgreSQL macro ERRCODE_FDW_UNABLE_TO_CREATE_EXECUTION.
FdwUnableToCreateReply
Section titled “FdwUnableToCreateReply”The PostgreSQL fdw_unable_to_create_reply SQLSTATE (HV00M).
public const string FdwUnableToCreateReply = "HV00M"PostgreSQL macro ERRCODE_FDW_UNABLE_TO_CREATE_REPLY.
FdwUnableToEstablishConnection
Section titled “FdwUnableToEstablishConnection”The PostgreSQL fdw_unable_to_establish_connection SQLSTATE (HV00N).
public const string FdwUnableToEstablishConnection = "HV00N"PostgreSQL macro ERRCODE_FDW_UNABLE_TO_ESTABLISH_CONNECTION.
FeatureNotSupported
Section titled “FeatureNotSupported”The PostgreSQL feature_not_supported SQLSTATE (0A000).
public const string FeatureNotSupported = "0A000"PostgreSQL macro ERRCODE_FEATURE_NOT_SUPPORTED.
FileNameTooLong
Section titled “FileNameTooLong”The PostgreSQL file_name_too_long SQLSTATE (58P03).
public const string FileNameTooLong = "58P03"PostgreSQL macro ERRCODE_FILE_NAME_TOO_LONG. Present in the PostgreSQL 18, 19 RC1 source catalogs.
FloatingPointException
Section titled “FloatingPointException”The PostgreSQL floating_point_exception SQLSTATE (22P01).
public const string FloatingPointException = "22P01"PostgreSQL macro ERRCODE_FLOATING_POINT_EXCEPTION.
ForeignKeyViolation
Section titled “ForeignKeyViolation”The PostgreSQL foreign_key_violation SQLSTATE (23503).
public const string ForeignKeyViolation = "23503"PostgreSQL macro ERRCODE_FOREIGN_KEY_VIOLATION.
GeneratedAlways
Section titled “GeneratedAlways”The PostgreSQL generated_always SQLSTATE (428C9).
public const string GeneratedAlways = "428C9"PostgreSQL macro ERRCODE_GENERATED_ALWAYS.
GroupingError
Section titled “GroupingError”The PostgreSQL grouping_error SQLSTATE (42803).
public const string GroupingError = "42803"PostgreSQL macro ERRCODE_GROUPING_ERROR.
HeldCursorRequiresSameIsolationLevel
Section titled “HeldCursorRequiresSameIsolationLevel”The PostgreSQL held_cursor_requires_same_isolation_level SQLSTATE (25008).
public const string HeldCursorRequiresSameIsolationLevel = "25008"PostgreSQL macro ERRCODE_HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL.
IdleInTransactionSessionTimeout
Section titled “IdleInTransactionSessionTimeout”The PostgreSQL idle_in_transaction_session_timeout SQLSTATE (25P03).
public const string IdleInTransactionSessionTimeout = "25P03"PostgreSQL macro ERRCODE_IDLE_IN_TRANSACTION_SESSION_TIMEOUT.
IdleSessionTimeout
Section titled “IdleSessionTimeout”The PostgreSQL idle_session_timeout SQLSTATE (57P05).
public const string IdleSessionTimeout = "57P05"PostgreSQL macro ERRCODE_IDLE_SESSION_TIMEOUT. Present in the PostgreSQL 14, 15, 16, 17, 18, 19 RC1 source catalogs.
InFailedSqlTransaction
Section titled “InFailedSqlTransaction”The PostgreSQL in_failed_sql_transaction SQLSTATE (25P02).
public const string InFailedSqlTransaction = "25P02"PostgreSQL macro ERRCODE_IN_FAILED_SQL_TRANSACTION.
InappropriateAccessModeForBranchTransaction
Section titled “InappropriateAccessModeForBranchTransaction”The PostgreSQL inappropriate_access_mode_for_branch_transaction SQLSTATE (25003).
public const string InappropriateAccessModeForBranchTransaction = "25003"PostgreSQL macro ERRCODE_INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION.
InappropriateIsolationLevelForBranchTransaction
Section titled “InappropriateIsolationLevelForBranchTransaction”The PostgreSQL inappropriate_isolation_level_for_branch_transaction SQLSTATE (25004).
public const string InappropriateIsolationLevelForBranchTransaction = "25004"PostgreSQL macro ERRCODE_INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION.
IndeterminateCollation
Section titled “IndeterminateCollation”The PostgreSQL indeterminate_collation SQLSTATE (42P22).
public const string IndeterminateCollation = "42P22"PostgreSQL macro ERRCODE_INDETERMINATE_COLLATION.
IndeterminateDatatype
Section titled “IndeterminateDatatype”The PostgreSQL indeterminate_datatype SQLSTATE (42P18).
public const string IndeterminateDatatype = "42P18"PostgreSQL macro ERRCODE_INDETERMINATE_DATATYPE.
IndexCorrupted
Section titled “IndexCorrupted”The PostgreSQL index_corrupted SQLSTATE (XX002).
public const string IndexCorrupted = "XX002"PostgreSQL macro ERRCODE_INDEX_CORRUPTED.
IndicatorOverflow
Section titled “IndicatorOverflow”The PostgreSQL indicator_overflow SQLSTATE (22022).
public const string IndicatorOverflow = "22022"PostgreSQL macro ERRCODE_INDICATOR_OVERFLOW.
InsufficientPrivilege
Section titled “InsufficientPrivilege”The PostgreSQL insufficient_privilege SQLSTATE (42501).
public const string InsufficientPrivilege = "42501"PostgreSQL macro ERRCODE_INSUFFICIENT_PRIVILEGE.
InsufficientResources
Section titled “InsufficientResources”The PostgreSQL insufficient_resources SQLSTATE (53000).
public const string InsufficientResources = "53000"PostgreSQL macro ERRCODE_INSUFFICIENT_RESOURCES.
IntegrityConstraintViolation
Section titled “IntegrityConstraintViolation”The PostgreSQL integrity_constraint_violation SQLSTATE (23000).
public const string IntegrityConstraintViolation = "23000"PostgreSQL macro ERRCODE_INTEGRITY_CONSTRAINT_VIOLATION.
InternalError
Section titled “InternalError”The PostgreSQL internal_error SQLSTATE (XX000).
public const string InternalError = "XX000"PostgreSQL macro ERRCODE_INTERNAL_ERROR.
IntervalFieldOverflow
Section titled “IntervalFieldOverflow”The PostgreSQL interval_field_overflow SQLSTATE (22015).
public const string IntervalFieldOverflow = "22015"PostgreSQL macro ERRCODE_INTERVAL_FIELD_OVERFLOW.
InvalidArgumentForLogarithm
Section titled “InvalidArgumentForLogarithm”The PostgreSQL invalid_argument_for_logarithm SQLSTATE (2201E).
public const string InvalidArgumentForLogarithm = "2201E"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_LOG.
InvalidArgumentForNthValueFunction
Section titled “InvalidArgumentForNthValueFunction”The PostgreSQL invalid_argument_for_nth_value_function SQLSTATE (22016).
public const string InvalidArgumentForNthValueFunction = "22016"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_NTH_VALUE.
InvalidArgumentForNtileFunction
Section titled “InvalidArgumentForNtileFunction”The PostgreSQL invalid_argument_for_ntile_function SQLSTATE (22014).
public const string InvalidArgumentForNtileFunction = "22014"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_NTILE.
InvalidArgumentForPowerFunction
Section titled “InvalidArgumentForPowerFunction”The PostgreSQL invalid_argument_for_power_function SQLSTATE (2201F).
public const string InvalidArgumentForPowerFunction = "2201F"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_POWER_FUNCTION.
InvalidArgumentForSqlJsonDatetimeFunction
Section titled “InvalidArgumentForSqlJsonDatetimeFunction”The PostgreSQL invalid_argument_for_sql_json_datetime_function SQLSTATE (22031).
public const string InvalidArgumentForSqlJsonDatetimeFunction = "22031"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_SQL_JSON_DATETIME_FUNCTION.
InvalidArgumentForWidthBucketFunction
Section titled “InvalidArgumentForWidthBucketFunction”The PostgreSQL invalid_argument_for_width_bucket_function SQLSTATE (2201G).
public const string InvalidArgumentForWidthBucketFunction = "2201G"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION.
InvalidArgumentForXQuery
Section titled “InvalidArgumentForXQuery”The PostgreSQL invalid_argument_for_xquery SQLSTATE (10608).
public const string InvalidArgumentForXQuery = "10608"PostgreSQL macro ERRCODE_INVALID_ARGUMENT_FOR_XQUERY. Present in the PostgreSQL 18, 19 RC1 source catalogs.
InvalidAuthorizationSpecification
Section titled “InvalidAuthorizationSpecification”The PostgreSQL invalid_authorization_specification SQLSTATE (28000).
public const string InvalidAuthorizationSpecification = "28000"PostgreSQL macro ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION.
InvalidBinaryRepresentation
Section titled “InvalidBinaryRepresentation”The PostgreSQL invalid_binary_representation SQLSTATE (22P03).
public const string InvalidBinaryRepresentation = "22P03"PostgreSQL macro ERRCODE_INVALID_BINARY_REPRESENTATION.
InvalidCatalogName
Section titled “InvalidCatalogName”The PostgreSQL invalid_catalog_name SQLSTATE (3D000).
public const string InvalidCatalogName = "3D000"PostgreSQL macro ERRCODE_INVALID_CATALOG_NAME.
InvalidCharacterValueForCast
Section titled “InvalidCharacterValueForCast”The PostgreSQL invalid_character_value_for_cast SQLSTATE (22018).
public const string InvalidCharacterValueForCast = "22018"PostgreSQL macro ERRCODE_INVALID_CHARACTER_VALUE_FOR_CAST.
InvalidColumnDefinition
Section titled “InvalidColumnDefinition”The PostgreSQL invalid_column_definition SQLSTATE (42611).
public const string InvalidColumnDefinition = "42611"PostgreSQL macro ERRCODE_INVALID_COLUMN_DEFINITION.
InvalidColumnReference
Section titled “InvalidColumnReference”The PostgreSQL invalid_column_reference SQLSTATE (42P10).
public const string InvalidColumnReference = "42P10"PostgreSQL macro ERRCODE_INVALID_COLUMN_REFERENCE.
InvalidCursorDefinition
Section titled “InvalidCursorDefinition”The PostgreSQL invalid_cursor_definition SQLSTATE (42P11).
public const string InvalidCursorDefinition = "42P11"PostgreSQL macro ERRCODE_INVALID_CURSOR_DEFINITION.
InvalidCursorName
Section titled “InvalidCursorName”The PostgreSQL invalid_cursor_name SQLSTATE (34000).
public const string InvalidCursorName = "34000"PostgreSQL macro ERRCODE_INVALID_CURSOR_NAME.
InvalidCursorState
Section titled “InvalidCursorState”The PostgreSQL invalid_cursor_state SQLSTATE (24000).
public const string InvalidCursorState = "24000"PostgreSQL macro ERRCODE_INVALID_CURSOR_STATE.
InvalidDatabaseDefinition
Section titled “InvalidDatabaseDefinition”The PostgreSQL invalid_database_definition SQLSTATE (42P12).
public const string InvalidDatabaseDefinition = "42P12"PostgreSQL macro ERRCODE_INVALID_DATABASE_DEFINITION.
InvalidDatetimeFormat
Section titled “InvalidDatetimeFormat”The PostgreSQL invalid_datetime_format SQLSTATE (22007).
public const string InvalidDatetimeFormat = "22007"PostgreSQL macro ERRCODE_INVALID_DATETIME_FORMAT.
InvalidEscapeCharacter
Section titled “InvalidEscapeCharacter”The PostgreSQL invalid_escape_character SQLSTATE (22019).
public const string InvalidEscapeCharacter = "22019"PostgreSQL macro ERRCODE_INVALID_ESCAPE_CHARACTER.
InvalidEscapeOctet
Section titled “InvalidEscapeOctet”The PostgreSQL invalid_escape_octet SQLSTATE (2200D).
public const string InvalidEscapeOctet = "2200D"PostgreSQL macro ERRCODE_INVALID_ESCAPE_OCTET.
InvalidEscapeSequence
Section titled “InvalidEscapeSequence”The PostgreSQL invalid_escape_sequence SQLSTATE (22025).
public const string InvalidEscapeSequence = "22025"PostgreSQL macro ERRCODE_INVALID_ESCAPE_SEQUENCE.
InvalidForeignKey
Section titled “InvalidForeignKey”The PostgreSQL invalid_foreign_key SQLSTATE (42830).
public const string InvalidForeignKey = "42830"PostgreSQL macro ERRCODE_INVALID_FOREIGN_KEY.
InvalidFunctionDefinition
Section titled “InvalidFunctionDefinition”The PostgreSQL invalid_function_definition SQLSTATE (42P13).
public const string InvalidFunctionDefinition = "42P13"PostgreSQL macro ERRCODE_INVALID_FUNCTION_DEFINITION.
InvalidGrantOperation
Section titled “InvalidGrantOperation”The PostgreSQL invalid_grant_operation SQLSTATE (0LP01).
public const string InvalidGrantOperation = "0LP01"PostgreSQL macro ERRCODE_INVALID_GRANT_OPERATION.
InvalidGrantor
Section titled “InvalidGrantor”The PostgreSQL invalid_grantor SQLSTATE (0L000).
public const string InvalidGrantor = "0L000"PostgreSQL macro ERRCODE_INVALID_GRANTOR.
InvalidIndicatorParameterValue
Section titled “InvalidIndicatorParameterValue”The PostgreSQL invalid_indicator_parameter_value SQLSTATE (22010).
public const string InvalidIndicatorParameterValue = "22010"PostgreSQL macro ERRCODE_INVALID_INDICATOR_PARAMETER_VALUE.
InvalidJsonText
Section titled “InvalidJsonText”The PostgreSQL invalid_json_text SQLSTATE (22032).
public const string InvalidJsonText = "22032"PostgreSQL macro ERRCODE_INVALID_JSON_TEXT.
InvalidLocatorSpecification
Section titled “InvalidLocatorSpecification”The PostgreSQL invalid_locator_specification SQLSTATE (0F001).
public const string InvalidLocatorSpecification = "0F001"PostgreSQL macro ERRCODE_L_E_INVALID_SPECIFICATION.
InvalidName
Section titled “InvalidName”The PostgreSQL invalid_name SQLSTATE (42602).
public const string InvalidName = "42602"PostgreSQL macro ERRCODE_INVALID_NAME.
InvalidObjectDefinition
Section titled “InvalidObjectDefinition”The PostgreSQL invalid_object_definition SQLSTATE (42P17).
public const string InvalidObjectDefinition = "42P17"PostgreSQL macro ERRCODE_INVALID_OBJECT_DEFINITION.
InvalidParameterValue
Section titled “InvalidParameterValue”The PostgreSQL invalid_parameter_value SQLSTATE (22023).
public const string InvalidParameterValue = "22023"PostgreSQL macro ERRCODE_INVALID_PARAMETER_VALUE.
InvalidPassword
Section titled “InvalidPassword”The PostgreSQL invalid_password SQLSTATE (28P01).
public const string InvalidPassword = "28P01"PostgreSQL macro ERRCODE_INVALID_PASSWORD.
InvalidPrecedingOrFollowingSize
Section titled “InvalidPrecedingOrFollowingSize”The PostgreSQL invalid_preceding_or_following_size SQLSTATE (22013).
public const string InvalidPrecedingOrFollowingSize = "22013"PostgreSQL macro ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE.
InvalidPreparedStatementDefinition
Section titled “InvalidPreparedStatementDefinition”The PostgreSQL invalid_prepared_statement_definition SQLSTATE (42P14).
public const string InvalidPreparedStatementDefinition = "42P14"PostgreSQL macro ERRCODE_INVALID_PSTATEMENT_DEFINITION.
InvalidRecursion
Section titled “InvalidRecursion”The PostgreSQL invalid_recursion SQLSTATE (42P19).
public const string InvalidRecursion = "42P19"PostgreSQL macro ERRCODE_INVALID_RECURSION.
InvalidRegularExpression
Section titled “InvalidRegularExpression”The PostgreSQL invalid_regular_expression SQLSTATE (2201B).
public const string InvalidRegularExpression = "2201B"PostgreSQL macro ERRCODE_INVALID_REGULAR_EXPRESSION.
InvalidRoleSpecification
Section titled “InvalidRoleSpecification”The PostgreSQL invalid_role_specification SQLSTATE (0P000).
public const string InvalidRoleSpecification = "0P000"PostgreSQL macro ERRCODE_INVALID_ROLE_SPECIFICATION.
InvalidRowCountInLimitClause
Section titled “InvalidRowCountInLimitClause”The PostgreSQL invalid_row_count_in_limit_clause SQLSTATE (2201W).
public const string InvalidRowCountInLimitClause = "2201W"PostgreSQL macro ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE.
InvalidRowCountInResultOffsetClause
Section titled “InvalidRowCountInResultOffsetClause”The PostgreSQL invalid_row_count_in_result_offset_clause SQLSTATE (2201X).
public const string InvalidRowCountInResultOffsetClause = "2201X"PostgreSQL macro ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE.
InvalidSavepointSpecification
Section titled “InvalidSavepointSpecification”The PostgreSQL invalid_savepoint_specification SQLSTATE (3B001).
public const string InvalidSavepointSpecification = "3B001"PostgreSQL macro ERRCODE_S_E_INVALID_SPECIFICATION.
InvalidSchemaDefinition
Section titled “InvalidSchemaDefinition”The PostgreSQL invalid_schema_definition SQLSTATE (42P15).
public const string InvalidSchemaDefinition = "42P15"PostgreSQL macro ERRCODE_INVALID_SCHEMA_DEFINITION.
InvalidSchemaName
Section titled “InvalidSchemaName”The PostgreSQL invalid_schema_name SQLSTATE (3F000).
public const string InvalidSchemaName = "3F000"PostgreSQL macro ERRCODE_INVALID_SCHEMA_NAME.
InvalidSqlJsonSubscript
Section titled “InvalidSqlJsonSubscript”The PostgreSQL invalid_sql_json_subscript SQLSTATE (22033).
public const string InvalidSqlJsonSubscript = "22033"PostgreSQL macro ERRCODE_INVALID_SQL_JSON_SUBSCRIPT.
InvalidSqlStatementName
Section titled “InvalidSqlStatementName”The PostgreSQL invalid_sql_statement_name SQLSTATE (26000).
public const string InvalidSqlStatementName = "26000"PostgreSQL macro ERRCODE_INVALID_SQL_STATEMENT_NAME.
InvalidTableDefinition
Section titled “InvalidTableDefinition”The PostgreSQL invalid_table_definition SQLSTATE (42P16).
public const string InvalidTableDefinition = "42P16"PostgreSQL macro ERRCODE_INVALID_TABLE_DEFINITION.
InvalidTablesampleArgument
Section titled “InvalidTablesampleArgument”The PostgreSQL invalid_tablesample_argument SQLSTATE (2202H).
public const string InvalidTablesampleArgument = "2202H"PostgreSQL macro ERRCODE_INVALID_TABLESAMPLE_ARGUMENT.
InvalidTablesampleRepeat
Section titled “InvalidTablesampleRepeat”The PostgreSQL invalid_tablesample_repeat SQLSTATE (2202G).
public const string InvalidTablesampleRepeat = "2202G"PostgreSQL macro ERRCODE_INVALID_TABLESAMPLE_REPEAT.
InvalidTextRepresentation
Section titled “InvalidTextRepresentation”The PostgreSQL invalid_text_representation SQLSTATE (22P02).
public const string InvalidTextRepresentation = "22P02"PostgreSQL macro ERRCODE_INVALID_TEXT_REPRESENTATION.
InvalidTimeZoneDisplacementValue
Section titled “InvalidTimeZoneDisplacementValue”The PostgreSQL invalid_time_zone_displacement_value SQLSTATE (22009).
public const string InvalidTimeZoneDisplacementValue = "22009"PostgreSQL macro ERRCODE_INVALID_TIME_ZONE_DISPLACEMENT_VALUE.
InvalidTransactionInitiation
Section titled “InvalidTransactionInitiation”The PostgreSQL invalid_transaction_initiation SQLSTATE (0B000).
public const string InvalidTransactionInitiation = "0B000"PostgreSQL macro ERRCODE_INVALID_TRANSACTION_INITIATION.
InvalidTransactionState
Section titled “InvalidTransactionState”The PostgreSQL invalid_transaction_state SQLSTATE (25000).
public const string InvalidTransactionState = "25000"PostgreSQL macro ERRCODE_INVALID_TRANSACTION_STATE.
InvalidTransactionTermination
Section titled “InvalidTransactionTermination”The PostgreSQL invalid_transaction_termination SQLSTATE (2D000).
public const string InvalidTransactionTermination = "2D000"PostgreSQL macro ERRCODE_INVALID_TRANSACTION_TERMINATION.
InvalidUseOfEscapeCharacter
Section titled “InvalidUseOfEscapeCharacter”The PostgreSQL invalid_use_of_escape_character SQLSTATE (2200C).
public const string InvalidUseOfEscapeCharacter = "2200C"PostgreSQL macro ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER.
InvalidXmlComment
Section titled “InvalidXmlComment”The PostgreSQL invalid_xml_comment SQLSTATE (2200S).
public const string InvalidXmlComment = "2200S"PostgreSQL macro ERRCODE_INVALID_XML_COMMENT.
InvalidXmlContent
Section titled “InvalidXmlContent”The PostgreSQL invalid_xml_content SQLSTATE (2200N).
public const string InvalidXmlContent = "2200N"PostgreSQL macro ERRCODE_INVALID_XML_CONTENT.
InvalidXmlDocument
Section titled “InvalidXmlDocument”The PostgreSQL invalid_xml_document SQLSTATE (2200M).
public const string InvalidXmlDocument = "2200M"PostgreSQL macro ERRCODE_INVALID_XML_DOCUMENT.
InvalidXmlProcessingInstruction
Section titled “InvalidXmlProcessingInstruction”The PostgreSQL invalid_xml_processing_instruction SQLSTATE (2200T).
public const string InvalidXmlProcessingInstruction = "2200T"PostgreSQL macro ERRCODE_INVALID_XML_PROCESSING_INSTRUCTION.
IoError
Section titled “IoError”The PostgreSQL io_error SQLSTATE (58030).
public const string IoError = "58030"PostgreSQL macro ERRCODE_IO_ERROR.
LocatorException
Section titled “LocatorException”The PostgreSQL locator_exception SQLSTATE (0F000).
public const string LocatorException = "0F000"PostgreSQL macro ERRCODE_LOCATOR_EXCEPTION.
LockFileExists
Section titled “LockFileExists”The PostgreSQL lock_file_exists SQLSTATE (F0001).
public const string LockFileExists = "F0001"PostgreSQL macro ERRCODE_LOCK_FILE_EXISTS.
LockNotAvailable
Section titled “LockNotAvailable”The PostgreSQL lock_not_available SQLSTATE (55P03).
public const string LockNotAvailable = "55P03"PostgreSQL macro ERRCODE_LOCK_NOT_AVAILABLE.
MoreThanOneSqlJsonItem
Section titled “MoreThanOneSqlJsonItem”The PostgreSQL more_than_one_sql_json_item SQLSTATE (22034).
public const string MoreThanOneSqlJsonItem = "22034"PostgreSQL macro ERRCODE_MORE_THAN_ONE_SQL_JSON_ITEM.
MostSpecificTypeMismatch
Section titled “MostSpecificTypeMismatch”The PostgreSQL most_specific_type_mismatch SQLSTATE (2200G).
public const string MostSpecificTypeMismatch = "2200G"PostgreSQL macro ERRCODE_MOST_SPECIFIC_TYPE_MISMATCH.
NameTooLong
Section titled “NameTooLong”The PostgreSQL name_too_long SQLSTATE (42622).
public const string NameTooLong = "42622"PostgreSQL macro ERRCODE_NAME_TOO_LONG.
NoActiveSqlTransaction
Section titled “NoActiveSqlTransaction”The PostgreSQL no_active_sql_transaction SQLSTATE (25P01).
public const string NoActiveSqlTransaction = "25P01"PostgreSQL macro ERRCODE_NO_ACTIVE_SQL_TRANSACTION.
NoActiveSqlTransactionForBranchTransaction
Section titled “NoActiveSqlTransactionForBranchTransaction”The PostgreSQL no_active_sql_transaction_for_branch_transaction SQLSTATE (25005).
public const string NoActiveSqlTransactionForBranchTransaction = "25005"PostgreSQL macro ERRCODE_NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION.
NoAdditionalDynamicResultSetsReturned
Section titled “NoAdditionalDynamicResultSetsReturned”The PostgreSQL no_additional_dynamic_result_sets_returned SQLSTATE (02001).
public const string NoAdditionalDynamicResultSetsReturned = "02001"PostgreSQL macro ERRCODE_NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED.
NoData
Section titled “NoData”The PostgreSQL no_data SQLSTATE (02000).
public const string NoData = "02000"PostgreSQL macro ERRCODE_NO_DATA.
NoDataFound
Section titled “NoDataFound”The PostgreSQL no_data_found SQLSTATE (P0002).
public const string NoDataFound = "P0002"PostgreSQL macro ERRCODE_NO_DATA_FOUND.
NoSqlJsonItem
Section titled “NoSqlJsonItem”The PostgreSQL no_sql_json_item SQLSTATE (22035).
public const string NoSqlJsonItem = "22035"PostgreSQL macro ERRCODE_NO_SQL_JSON_ITEM.
NonNumericSqlJsonItem
Section titled “NonNumericSqlJsonItem”The PostgreSQL non_numeric_sql_json_item SQLSTATE (22036).
public const string NonNumericSqlJsonItem = "22036"PostgreSQL macro ERRCODE_NON_NUMERIC_SQL_JSON_ITEM.
NonUniqueKeysInAJsonObject
Section titled “NonUniqueKeysInAJsonObject”The PostgreSQL non_unique_keys_in_a_json_object SQLSTATE (22037).
public const string NonUniqueKeysInAJsonObject = "22037"PostgreSQL macro ERRCODE_NON_UNIQUE_KEYS_IN_A_JSON_OBJECT.
NonstandardUseOfEscapeCharacter
Section titled “NonstandardUseOfEscapeCharacter”The PostgreSQL nonstandard_use_of_escape_character SQLSTATE (22P06).
public const string NonstandardUseOfEscapeCharacter = "22P06"PostgreSQL macro ERRCODE_NONSTANDARD_USE_OF_ESCAPE_CHARACTER.
NotAnXmlDocument
Section titled “NotAnXmlDocument”The PostgreSQL not_an_xml_document SQLSTATE (2200L).
public const string NotAnXmlDocument = "2200L"PostgreSQL macro ERRCODE_NOT_AN_XML_DOCUMENT.
NotNullViolation
Section titled “NotNullViolation”The PostgreSQL not_null_violation SQLSTATE (23502).
public const string NotNullViolation = "23502"PostgreSQL macro ERRCODE_NOT_NULL_VIOLATION.
NullValueNoIndicatorParameter
Section titled “NullValueNoIndicatorParameter”The PostgreSQL null_value_no_indicator_parameter SQLSTATE (22002).
public const string NullValueNoIndicatorParameter = "22002"PostgreSQL macro ERRCODE_NULL_VALUE_NO_INDICATOR_PARAMETER.
NullValueNotAllowed
Section titled “NullValueNotAllowed”The PostgreSQL null_value_not_allowed SQLSTATE (22004).
public const string NullValueNotAllowed = "22004"PostgreSQL macro ERRCODE_NULL_VALUE_NOT_ALLOWED.
NumericValueOutOfRange
Section titled “NumericValueOutOfRange”The PostgreSQL numeric_value_out_of_range SQLSTATE (22003).
public const string NumericValueOutOfRange = "22003"PostgreSQL macro ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE.
ObjectInUse
Section titled “ObjectInUse”The PostgreSQL object_in_use SQLSTATE (55006).
public const string ObjectInUse = "55006"PostgreSQL macro ERRCODE_OBJECT_IN_USE.
ObjectNotInPrerequisiteState
Section titled “ObjectNotInPrerequisiteState”The PostgreSQL object_not_in_prerequisite_state SQLSTATE (55000).
public const string ObjectNotInPrerequisiteState = "55000"PostgreSQL macro ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE.
OperatorIntervention
Section titled “OperatorIntervention”The PostgreSQL operator_intervention SQLSTATE (57000).
public const string OperatorIntervention = "57000"PostgreSQL macro ERRCODE_OPERATOR_INTERVENTION.
OutOfMemory
Section titled “OutOfMemory”The PostgreSQL out_of_memory SQLSTATE (53200).
public const string OutOfMemory = "53200"PostgreSQL macro ERRCODE_OUT_OF_MEMORY.
PlpgsqlError
Section titled “PlpgsqlError”The PostgreSQL plpgsql_error SQLSTATE (P0000).
public const string PlpgsqlError = "P0000"PostgreSQL macro ERRCODE_PLPGSQL_ERROR.
ProgramLimitExceeded
Section titled “ProgramLimitExceeded”The PostgreSQL program_limit_exceeded SQLSTATE (54000).
public const string ProgramLimitExceeded = "54000"PostgreSQL macro ERRCODE_PROGRAM_LIMIT_EXCEEDED.
ProtocolViolation
Section titled “ProtocolViolation”The PostgreSQL protocol_violation SQLSTATE (08P01).
public const string ProtocolViolation = "08P01"PostgreSQL macro ERRCODE_PROTOCOL_VIOLATION.
QueryCanceled
Section titled “QueryCanceled”The PostgreSQL query_canceled SQLSTATE (57014).
public const string QueryCanceled = "57014"PostgreSQL macro ERRCODE_QUERY_CANCELED.
RaiseException
Section titled “RaiseException”The PostgreSQL raise_exception SQLSTATE (P0001).
public const string RaiseException = "P0001"PostgreSQL macro ERRCODE_RAISE_EXCEPTION.
ReadOnlySqlTransaction
Section titled “ReadOnlySqlTransaction”The PostgreSQL read_only_sql_transaction SQLSTATE (25006).
public const string ReadOnlySqlTransaction = "25006"PostgreSQL macro ERRCODE_READ_ONLY_SQL_TRANSACTION.
ReservedName
Section titled “ReservedName”The PostgreSQL reserved_name SQLSTATE (42939).
public const string ReservedName = "42939"PostgreSQL macro ERRCODE_RESERVED_NAME.
RestrictViolation
Section titled “RestrictViolation”The PostgreSQL restrict_violation SQLSTATE (23001).
public const string RestrictViolation = "23001"PostgreSQL macro ERRCODE_RESTRICT_VIOLATION.
SavepointException
Section titled “SavepointException”The PostgreSQL savepoint_exception SQLSTATE (3B000).
public const string SavepointException = "3B000"PostgreSQL macro ERRCODE_SAVEPOINT_EXCEPTION.
SchemaAndDataStatementMixingNotSupported
Section titled “SchemaAndDataStatementMixingNotSupported”The PostgreSQL schema_and_data_statement_mixing_not_supported SQLSTATE (25007).
public const string SchemaAndDataStatementMixingNotSupported = "25007"PostgreSQL macro ERRCODE_SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED.
SequenceGeneratorLimitExceeded
Section titled “SequenceGeneratorLimitExceeded”The PostgreSQL sequence_generator_limit_exceeded SQLSTATE (2200H).
public const string SequenceGeneratorLimitExceeded = "2200H"PostgreSQL macro ERRCODE_SEQUENCE_GENERATOR_LIMIT_EXCEEDED.
SerializationFailure
Section titled “SerializationFailure”The PostgreSQL serialization_failure SQLSTATE (40001).
public const string SerializationFailure = "40001"PostgreSQL macro ERRCODE_T_R_SERIALIZATION_FAILURE.
SingletonSqlJsonItemRequired
Section titled “SingletonSqlJsonItemRequired”The PostgreSQL singleton_sql_json_item_required SQLSTATE (22038).
public const string SingletonSqlJsonItemRequired = "22038"PostgreSQL macro ERRCODE_SINGLETON_SQL_JSON_ITEM_REQUIRED.
SnapshotTooOld
Section titled “SnapshotTooOld”The PostgreSQL snapshot_too_old SQLSTATE (72000).
public const string SnapshotTooOld = "72000"PostgreSQL macro ERRCODE_SNAPSHOT_TOO_OLD. Present in the PostgreSQL 13, 14, 15, 16 source catalogs.
SqlClientUnableToEstablishSqlConnection
Section titled “SqlClientUnableToEstablishSqlConnection”The PostgreSQL sqlclient_unable_to_establish_sqlconnection SQLSTATE (08001).
public const string SqlClientUnableToEstablishSqlConnection = "08001"PostgreSQL macro ERRCODE_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION.
SqlJsonArrayNotFound
Section titled “SqlJsonArrayNotFound”The PostgreSQL sql_json_array_not_found SQLSTATE (22039).
public const string SqlJsonArrayNotFound = "22039"PostgreSQL macro ERRCODE_SQL_JSON_ARRAY_NOT_FOUND.
SqlJsonItemCannotBeCastToTargetType
Section titled “SqlJsonItemCannotBeCastToTargetType”The PostgreSQL sql_json_item_cannot_be_cast_to_target_type SQLSTATE (2203G).
public const string SqlJsonItemCannotBeCastToTargetType = "2203G"PostgreSQL macro ERRCODE_SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE. Present in the PostgreSQL 15, 16, 17, 18, 19 RC1 source catalogs.
SqlJsonMemberNotFound
Section titled “SqlJsonMemberNotFound”The PostgreSQL sql_json_member_not_found SQLSTATE (2203A).
public const string SqlJsonMemberNotFound = "2203A"PostgreSQL macro ERRCODE_SQL_JSON_MEMBER_NOT_FOUND.
SqlJsonNumberNotFound
Section titled “SqlJsonNumberNotFound”The PostgreSQL sql_json_number_not_found SQLSTATE (2203B).
public const string SqlJsonNumberNotFound = "2203B"PostgreSQL macro ERRCODE_SQL_JSON_NUMBER_NOT_FOUND.
SqlJsonObjectNotFound
Section titled “SqlJsonObjectNotFound”The PostgreSQL sql_json_object_not_found SQLSTATE (2203C).
public const string SqlJsonObjectNotFound = "2203C"PostgreSQL macro ERRCODE_SQL_JSON_OBJECT_NOT_FOUND.
SqlJsonScalarRequired
Section titled “SqlJsonScalarRequired”The PostgreSQL sql_json_scalar_required SQLSTATE (2203F).
public const string SqlJsonScalarRequired = "2203F"PostgreSQL macro ERRCODE_SQL_JSON_SCALAR_REQUIRED.
SqlRoutineException
Section titled “SqlRoutineException”The PostgreSQL sql_routine_exception SQLSTATE (2F000).
public const string SqlRoutineException = "2F000"PostgreSQL macro ERRCODE_SQL_ROUTINE_EXCEPTION.
SqlRoutineFunctionExecutedNoReturnStatement
Section titled “SqlRoutineFunctionExecutedNoReturnStatement”The PostgreSQL function_executed_no_return_statement SQLSTATE (2F005).
public const string SqlRoutineFunctionExecutedNoReturnStatement = "2F005"PostgreSQL macro ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT.
SqlRoutineModifyingSqlDataNotPermitted
Section titled “SqlRoutineModifyingSqlDataNotPermitted”The PostgreSQL modifying_sql_data_not_permitted SQLSTATE (2F002).
public const string SqlRoutineModifyingSqlDataNotPermitted = "2F002"PostgreSQL macro ERRCODE_S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED.
SqlRoutineProhibitedSqlStatementAttempted
Section titled “SqlRoutineProhibitedSqlStatementAttempted”The PostgreSQL prohibited_sql_statement_attempted SQLSTATE (2F003).
public const string SqlRoutineProhibitedSqlStatementAttempted = "2F003"PostgreSQL macro ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED.
SqlRoutineReadingSqlDataNotPermitted
Section titled “SqlRoutineReadingSqlDataNotPermitted”The PostgreSQL reading_sql_data_not_permitted SQLSTATE (2F004).
public const string SqlRoutineReadingSqlDataNotPermitted = "2F004"PostgreSQL macro ERRCODE_S_R_E_READING_SQL_DATA_NOT_PERMITTED.
SqlServerRejectedEstablishmentOfSqlConnection
Section titled “SqlServerRejectedEstablishmentOfSqlConnection”The PostgreSQL sqlserver_rejected_establishment_of_sqlconnection SQLSTATE (08004).
public const string SqlServerRejectedEstablishmentOfSqlConnection = "08004"PostgreSQL macro ERRCODE_SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION.
SqlStatementNotYetComplete
Section titled “SqlStatementNotYetComplete”The PostgreSQL sql_statement_not_yet_complete SQLSTATE (03000).
public const string SqlStatementNotYetComplete = "03000"PostgreSQL macro ERRCODE_SQL_STATEMENT_NOT_YET_COMPLETE.
StackedDiagnosticsAccessedWithoutActiveHandler
Section titled “StackedDiagnosticsAccessedWithoutActiveHandler”The PostgreSQL stacked_diagnostics_accessed_without_active_handler SQLSTATE (0Z002).
public const string StackedDiagnosticsAccessedWithoutActiveHandler = "0Z002"PostgreSQL macro ERRCODE_STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER.
StatementCompletionUnknown
Section titled “StatementCompletionUnknown”The PostgreSQL statement_completion_unknown SQLSTATE (40003).
public const string StatementCompletionUnknown = "40003"PostgreSQL macro ERRCODE_T_R_STATEMENT_COMPLETION_UNKNOWN.
StatementTooComplex
Section titled “StatementTooComplex”The PostgreSQL statement_too_complex SQLSTATE (54001).
public const string StatementTooComplex = "54001"PostgreSQL macro ERRCODE_STATEMENT_TOO_COMPLEX.
StringDataLengthMismatch
Section titled “StringDataLengthMismatch”The PostgreSQL string_data_length_mismatch SQLSTATE (22026).
public const string StringDataLengthMismatch = "22026"PostgreSQL macro ERRCODE_STRING_DATA_LENGTH_MISMATCH.
StringDataRightTruncation
Section titled “StringDataRightTruncation”The PostgreSQL string_data_right_truncation SQLSTATE (22001).
public const string StringDataRightTruncation = "22001"PostgreSQL macro ERRCODE_STRING_DATA_RIGHT_TRUNCATION.
SubstringError
Section titled “SubstringError”The PostgreSQL substring_error SQLSTATE (22011).
public const string SubstringError = "22011"PostgreSQL macro ERRCODE_SUBSTRING_ERROR.
SuccessfulCompletion
Section titled “SuccessfulCompletion”The PostgreSQL successful_completion SQLSTATE (00000).
public const string SuccessfulCompletion = "00000"PostgreSQL macro ERRCODE_SUCCESSFUL_COMPLETION.
SyntaxError
Section titled “SyntaxError”The PostgreSQL syntax_error SQLSTATE (42601).
public const string SyntaxError = "42601"PostgreSQL macro ERRCODE_SYNTAX_ERROR.
SyntaxErrorOrAccessRuleViolation
Section titled “SyntaxErrorOrAccessRuleViolation”The PostgreSQL syntax_error_or_access_rule_violation SQLSTATE (42000).
public const string SyntaxErrorOrAccessRuleViolation = "42000"PostgreSQL macro ERRCODE_SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION.
SystemError
Section titled “SystemError”The PostgreSQL system_error SQLSTATE (58000).
public const string SystemError = "58000"PostgreSQL macro ERRCODE_SYSTEM_ERROR.
TooManyArguments
Section titled “TooManyArguments”The PostgreSQL too_many_arguments SQLSTATE (54023).
public const string TooManyArguments = "54023"PostgreSQL macro ERRCODE_TOO_MANY_ARGUMENTS.
TooManyColumns
Section titled “TooManyColumns”The PostgreSQL too_many_columns SQLSTATE (54011).
public const string TooManyColumns = "54011"PostgreSQL macro ERRCODE_TOO_MANY_COLUMNS.
TooManyConnections
Section titled “TooManyConnections”The PostgreSQL too_many_connections SQLSTATE (53300).
public const string TooManyConnections = "53300"PostgreSQL macro ERRCODE_TOO_MANY_CONNECTIONS.
TooManyJsonArrayElements
Section titled “TooManyJsonArrayElements”The PostgreSQL too_many_json_array_elements SQLSTATE (2203D).
public const string TooManyJsonArrayElements = "2203D"PostgreSQL macro ERRCODE_TOO_MANY_JSON_ARRAY_ELEMENTS.
TooManyJsonObjectMembers
Section titled “TooManyJsonObjectMembers”The PostgreSQL too_many_json_object_members SQLSTATE (2203E).
public const string TooManyJsonObjectMembers = "2203E"PostgreSQL macro ERRCODE_TOO_MANY_JSON_OBJECT_MEMBERS.
TooManyRows
Section titled “TooManyRows”The PostgreSQL too_many_rows SQLSTATE (P0003).
public const string TooManyRows = "P0003"PostgreSQL macro ERRCODE_TOO_MANY_ROWS.
TransactionIntegrityConstraintViolation
Section titled “TransactionIntegrityConstraintViolation”The PostgreSQL transaction_integrity_constraint_violation SQLSTATE (40002).
public const string TransactionIntegrityConstraintViolation = "40002"PostgreSQL macro ERRCODE_T_R_INTEGRITY_CONSTRAINT_VIOLATION.
TransactionResolutionUnknown
Section titled “TransactionResolutionUnknown”The PostgreSQL transaction_resolution_unknown SQLSTATE (08007).
public const string TransactionResolutionUnknown = "08007"PostgreSQL macro ERRCODE_TRANSACTION_RESOLUTION_UNKNOWN.
TransactionRollback
Section titled “TransactionRollback”The PostgreSQL transaction_rollback SQLSTATE (40000).
public const string TransactionRollback = "40000"PostgreSQL macro ERRCODE_TRANSACTION_ROLLBACK.
TransactionTimeout
Section titled “TransactionTimeout”The PostgreSQL transaction_timeout SQLSTATE (25P04).
public const string TransactionTimeout = "25P04"PostgreSQL macro ERRCODE_TRANSACTION_TIMEOUT. Present in the PostgreSQL 17, 18, 19 RC1 source catalogs.
TriggeredActionException
Section titled “TriggeredActionException”The PostgreSQL triggered_action_exception SQLSTATE (09000).
public const string TriggeredActionException = "09000"PostgreSQL macro ERRCODE_TRIGGERED_ACTION_EXCEPTION.
TriggeredDataChangeViolation
Section titled “TriggeredDataChangeViolation”The PostgreSQL triggered_data_change_violation SQLSTATE (27000).
public const string TriggeredDataChangeViolation = "27000"PostgreSQL macro ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION.
TrimError
Section titled “TrimError”The PostgreSQL trim_error SQLSTATE (22027).
public const string TrimError = "22027"PostgreSQL macro ERRCODE_TRIM_ERROR.
UndefinedColumn
Section titled “UndefinedColumn”The PostgreSQL undefined_column SQLSTATE (42703).
public const string UndefinedColumn = "42703"PostgreSQL macro ERRCODE_UNDEFINED_COLUMN.
UndefinedCursor
Section titled “UndefinedCursor”The PostgreSQL undefined_cursor SQLSTATE (34000).
public const string UndefinedCursor = "34000"PostgreSQL macro ERRCODE_UNDEFINED_CURSOR.
UndefinedDatabase
Section titled “UndefinedDatabase”The PostgreSQL undefined_database SQLSTATE (3D000).
public const string UndefinedDatabase = "3D000"PostgreSQL macro ERRCODE_UNDEFINED_DATABASE.
UndefinedFile
Section titled “UndefinedFile”The PostgreSQL undefined_file SQLSTATE (58P01).
public const string UndefinedFile = "58P01"PostgreSQL macro ERRCODE_UNDEFINED_FILE.
UndefinedFunction
Section titled “UndefinedFunction”The PostgreSQL undefined_function SQLSTATE (42883).
public const string UndefinedFunction = "42883"PostgreSQL macro ERRCODE_UNDEFINED_FUNCTION.
UndefinedObject
Section titled “UndefinedObject”The PostgreSQL undefined_object SQLSTATE (42704).
public const string UndefinedObject = "42704"PostgreSQL macro ERRCODE_UNDEFINED_OBJECT.
UndefinedParameter
Section titled “UndefinedParameter”The PostgreSQL undefined_parameter SQLSTATE (42P02).
public const string UndefinedParameter = "42P02"PostgreSQL macro ERRCODE_UNDEFINED_PARAMETER.
UndefinedPreparedStatement
Section titled “UndefinedPreparedStatement”The PostgreSQL undefined_pstatement SQLSTATE (26000).
public const string UndefinedPreparedStatement = "26000"PostgreSQL macro ERRCODE_UNDEFINED_PSTATEMENT.
UndefinedSchema
Section titled “UndefinedSchema”The PostgreSQL undefined_schema SQLSTATE (3F000).
public const string UndefinedSchema = "3F000"PostgreSQL macro ERRCODE_UNDEFINED_SCHEMA.
UndefinedTable
Section titled “UndefinedTable”The PostgreSQL undefined_table SQLSTATE (42P01).
public const string UndefinedTable = "42P01"PostgreSQL macro ERRCODE_UNDEFINED_TABLE.
UniqueViolation
Section titled “UniqueViolation”The PostgreSQL unique_violation SQLSTATE (23505).
public const string UniqueViolation = "23505"PostgreSQL macro ERRCODE_UNIQUE_VIOLATION.
UnsafeNewEnumValueUsage
Section titled “UnsafeNewEnumValueUsage”The PostgreSQL unsafe_new_enum_value_usage SQLSTATE (55P04).
public const string UnsafeNewEnumValueUsage = "55P04"PostgreSQL macro ERRCODE_UNSAFE_NEW_ENUM_VALUE_USAGE.
UnterminatedCString
Section titled “UnterminatedCString”The PostgreSQL unterminated_c_string SQLSTATE (22024).
public const string UnterminatedCString = "22024"PostgreSQL macro ERRCODE_UNTERMINATED_C_STRING.
UntranslatableCharacter
Section titled “UntranslatableCharacter”The PostgreSQL untranslatable_character SQLSTATE (22P05).
public const string UntranslatableCharacter = "22P05"PostgreSQL macro ERRCODE_UNTRANSLATABLE_CHARACTER.
Warning
Section titled “Warning”The PostgreSQL warning SQLSTATE (01000).
public const string Warning = "01000"PostgreSQL macro ERRCODE_WARNING.
WarningDeprecatedFeature
Section titled “WarningDeprecatedFeature”The PostgreSQL deprecated_feature SQLSTATE (01P01).
public const string WarningDeprecatedFeature = "01P01"PostgreSQL macro ERRCODE_WARNING_DEPRECATED_FEATURE.
WarningDynamicResultSetsReturned
Section titled “WarningDynamicResultSetsReturned”The PostgreSQL dynamic_result_sets_returned SQLSTATE (0100C).
public const string WarningDynamicResultSetsReturned = "0100C"PostgreSQL macro ERRCODE_WARNING_DYNAMIC_RESULT_SETS_RETURNED.
WarningImplicitZeroBitPadding
Section titled “WarningImplicitZeroBitPadding”The PostgreSQL implicit_zero_bit_padding SQLSTATE (01008).
public const string WarningImplicitZeroBitPadding = "01008"PostgreSQL macro ERRCODE_WARNING_IMPLICIT_ZERO_BIT_PADDING.
WarningNullValueEliminatedInSetFunction
Section titled “WarningNullValueEliminatedInSetFunction”The PostgreSQL null_value_eliminated_in_set_function SQLSTATE (01003).
public const string WarningNullValueEliminatedInSetFunction = "01003"PostgreSQL macro ERRCODE_WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION.
WarningPrivilegeNotGranted
Section titled “WarningPrivilegeNotGranted”The PostgreSQL privilege_not_granted SQLSTATE (01007).
public const string WarningPrivilegeNotGranted = "01007"PostgreSQL macro ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED.
WarningPrivilegeNotRevoked
Section titled “WarningPrivilegeNotRevoked”The PostgreSQL privilege_not_revoked SQLSTATE (01006).
public const string WarningPrivilegeNotRevoked = "01006"PostgreSQL macro ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED.
WarningStringDataRightTruncation
Section titled “WarningStringDataRightTruncation”The PostgreSQL string_data_right_truncation SQLSTATE (01004).
public const string WarningStringDataRightTruncation = "01004"PostgreSQL macro ERRCODE_WARNING_STRING_DATA_RIGHT_TRUNCATION.
WindowingError
Section titled “WindowingError”The PostgreSQL windowing_error SQLSTATE (42P20).
public const string WindowingError = "42P20"PostgreSQL macro ERRCODE_WINDOWING_ERROR.
WithCheckOptionViolation
Section titled “WithCheckOptionViolation”The PostgreSQL with_check_option_violation SQLSTATE (44000).
public const string WithCheckOptionViolation = "44000"PostgreSQL macro ERRCODE_WITH_CHECK_OPTION_VIOLATION.
WrongObjectType
Section titled “WrongObjectType”The PostgreSQL wrong_object_type SQLSTATE (42809).
public const string WrongObjectType = "42809"PostgreSQL macro ERRCODE_WRONG_OBJECT_TYPE.
ZeroLengthCharacterString
Section titled “ZeroLengthCharacterString”The PostgreSQL zero_length_character_string SQLSTATE (2200F).
public const string ZeroLengthCharacterString = "2200F"PostgreSQL macro ERRCODE_ZERO_LENGTH_CHARACTER_STRING.