PostgreSQL Error Codes. More...
PostgreSQL Error Codes.
Definition at line 19 of file PostgresError.class.php.
static PostgresError::getAnyId | ( | ) | [static] |
must return any existent ID 1 should be ok for most enumerations
Reimplemented from Enumeration.
Definition at line 555 of file PostgresError.class.php.
PostgresError::$names [protected] |
Reimplemented from Enumeration.
Definition at line 292 of file PostgresError.class.php.
const PostgresError::ACTIVE_SQL_TRANSACTION = '25001' |
Definition at line 129 of file PostgresError.class.php.
const PostgresError::ADMIN_SHUTDOWN = '57P01' |
Definition at line 270 of file PostgresError.class.php.
const PostgresError::AMBIGUOUS_ALIAS = '42P09' |
Definition at line 235 of file PostgresError.class.php.
const PostgresError::AMBIGUOUS_COLUMN = '42702' |
Definition at line 232 of file PostgresError.class.php.
const PostgresError::AMBIGUOUS_FUNCTION = '42725' |
Definition at line 233 of file PostgresError.class.php.
const PostgresError::AMBIGUOUS_PARAMETER = '42P08' |
Definition at line 234 of file PostgresError.class.php.
const PostgresError::ARRAY_SUBSCRIPT_ERROR = '2202E' |
Definition at line 77 of file PostgresError.class.php.
const PostgresError::BAD_COPY_FILE_FORMAT = '22P04' |
Definition at line 113 of file PostgresError.class.php.
const PostgresError::BRANCH_TRANSACTION_ALREADY_ACTIVE = '25002' |
Definition at line 130 of file PostgresError.class.php.
const PostgresError::CANNOT_COERCE = '42846' |
Definition at line 209 of file PostgresError.class.php.
const PostgresError::CANNOT_CONNECT_NOW = '57P03' |
Definition at line 272 of file PostgresError.class.php.
const PostgresError::CANT_CHANGE_RUNTIME_PARAM = '55P02' |
Definition at line 264 of file PostgresError.class.php.
const PostgresError::CARDINALITY_VIOLATION = '21000' |
Definition at line 73 of file PostgresError.class.php.
const PostgresError::CHARACTER_NOT_IN_REPERTOIRE = '22021' |
Definition at line 78 of file PostgresError.class.php.
const PostgresError::CHECK_VIOLATION = '23514' |
Definition at line 122 of file PostgresError.class.php.
const PostgresError::CONFIG_FILE_ERROR = 'F0000' |
Definition at line 280 of file PostgresError.class.php.
const PostgresError::CONNECTION_DOES_NOT_EXIST = '08003' |
Definition at line 45 of file PostgresError.class.php.
const PostgresError::CONNECTION_EXCEPTION = '08000' |
Definition at line 44 of file PostgresError.class.php.
const PostgresError::CONNECTION_FAILURE = '08006' |
Definition at line 46 of file PostgresError.class.php.
const PostgresError::CONTAINING_SQL_NOT_PERMITTED = '38001' |
Definition at line 172 of file PostgresError.class.php.
const PostgresError::CRASH_SHUTDOWN = '57P02' |
Definition at line 271 of file PostgresError.class.php.
const PostgresError::DATA_CORRUPTED = 'XX001' |
Definition at line 289 of file PostgresError.class.php.
const PostgresError::DATA_EXCEPTION = '22000' |
Definition at line 76 of file PostgresError.class.php.
const PostgresError::DATATYPE_MISMATCH = '42804' |
Definition at line 215 of file PostgresError.class.php.
const PostgresError::DATETIME_FIELD_OVERFLOW = '22008' |
Definition at line 79 of file PostgresError.class.php.
const PostgresError::DEADLOCK_DETECTED = '40P01' |
Definition at line 203 of file PostgresError.class.php.
const PostgresError::DEPENDENT_OBJECTS_STILL_EXIST = '2BP01' |
Definition at line 151 of file PostgresError.class.php.
const PostgresError::DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST = '2B000' |
Definition at line 150 of file PostgresError.class.php.
const PostgresError::DEPRECATED_FEATURE = '01P01' |
Definition at line 34 of file PostgresError.class.php.
const PostgresError::DISK_FULL = '53100' |
Definition at line 251 of file PostgresError.class.php.
const PostgresError::DIVISION_BY_ZERO = '22012' |
Definition at line 80 of file PostgresError.class.php.
const PostgresError::DUPLICATE_ALIAS = '42712' |
Definition at line 230 of file PostgresError.class.php.
const PostgresError::DUPLICATE_COLUMN = '42701' |
Definition at line 223 of file PostgresError.class.php.
const PostgresError::DUPLICATE_CURSOR = '42P03' |
Definition at line 224 of file PostgresError.class.php.
const PostgresError::DUPLICATE_DATABASE = '42P04' |
Definition at line 225 of file PostgresError.class.php.
const PostgresError::DUPLICATE_FILE = '58P02' |
Definition at line 277 of file PostgresError.class.php.
const PostgresError::DUPLICATE_FUNCTION = '42723' |
Definition at line 226 of file PostgresError.class.php.
const PostgresError::DUPLICATE_OBJECT = '42710' |
Definition at line 231 of file PostgresError.class.php.
const PostgresError::DUPLICATE_PREPARED_STATEMENT = '42P05' |
Definition at line 227 of file PostgresError.class.php.
const PostgresError::DUPLICATE_SCHEMA = '42P06' |
Definition at line 228 of file PostgresError.class.php.
const PostgresError::DUPLICATE_TABLE = '42P07' |
Definition at line 229 of file PostgresError.class.php.
const PostgresError::DYNAMIC_RESULT_SETS_RETURNED = '0100C' |
Definition at line 26 of file PostgresError.class.php.
const PostgresError::ERROR_IN_ASSIGNMENT = '22005' |
Definition at line 81 of file PostgresError.class.php.
const PostgresError::ESCAPE_CHARACTER_CONFLICT = '2200B' |
Definition at line 82 of file PostgresError.class.php.
const PostgresError::EXTERNAL_ROUTINE_EXCEPTION = '38000' |
Definition at line 171 of file PostgresError.class.php.
const PostgresError::EXTERNAL_ROUTINE_INVOCATION_EXCEPTION = '39000' |
Definition at line 180 of file PostgresError.class.php.
const PostgresError::FEATURE_NOT_SUPPORTED = '0A000' |
Definition at line 56 of file PostgresError.class.php.
const PostgresError::FLOATING_POINT_EXCEPTION = '22P01' |
Definition at line 110 of file PostgresError.class.php.
const PostgresError::FOREIGN_KEY_VIOLATION = '23503' |
Definition at line 120 of file PostgresError.class.php.
const PostgresError::FUNCTION_EXECUTED_NO_RETURN_STATEMENT = '2F005' |
Definition at line 158 of file PostgresError.class.php.
const PostgresError::GROUPING_ERROR = '42803' |
Definition at line 210 of file PostgresError.class.php.
const PostgresError::HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL = '25008' |
Definition at line 131 of file PostgresError.class.php.
const PostgresError::IMPLICIT_ZERO_BIT_PADDING = '01008' |
Definition at line 27 of file PostgresError.class.php.
const PostgresError::IN_FAILED_SQL_TRANSACTION = '25P02' |
Definition at line 138 of file PostgresError.class.php.
const PostgresError::INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION = '25003' |
Definition at line 132 of file PostgresError.class.php.
Definition at line 133 of file PostgresError.class.php.
const PostgresError::INDETERMINATE_DATATYPE = '42P18' |
Definition at line 216 of file PostgresError.class.php.
const PostgresError::INDEX_CORRUPTED = 'XX002' |
Definition at line 290 of file PostgresError.class.php.
const PostgresError::INDICATOR_OVERFLOW = '22022' |
Definition at line 83 of file PostgresError.class.php.
const PostgresError::INSUFFICIENT_PRIVILEGE = '42501' |
Definition at line 208 of file PostgresError.class.php.
const PostgresError::INSUFFICIENT_RESOURCES = '53000' |
Definition at line 250 of file PostgresError.class.php.
const PostgresError::INTEGRITY_CONSTRAINT_VIOLATION = '23000' |
Definition at line 117 of file PostgresError.class.php.
const PostgresError::INTERNAL_ERROR = 'XX000' |
Definition at line 288 of file PostgresError.class.php.
const PostgresError::INTERVAL_FIELD_OVERFLOW = '22015' |
Definition at line 84 of file PostgresError.class.php.
const PostgresError::INVALID_ARGUMENT_FOR_LOGARITHM = '2201E' |
Definition at line 85 of file PostgresError.class.php.
const PostgresError::INVALID_ARGUMENT_FOR_POWER_FUNCTION = '2201F' |
Definition at line 86 of file PostgresError.class.php.
const PostgresError::INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION = '2201G' |
Definition at line 87 of file PostgresError.class.php.
const PostgresError::INVALID_AUTHORIZATION_SPECIFICATION = '28000' |
Definition at line 147 of file PostgresError.class.php.
const PostgresError::INVALID_BINARY_REPRESENTATION = '22P03' |
Definition at line 112 of file PostgresError.class.php.
const PostgresError::INVALID_CATALOG_NAME = '3D000' |
Definition at line 193 of file PostgresError.class.php.
const PostgresError::INVALID_CHARACTER_VALUE_FOR_CAST = '22018' |
Definition at line 88 of file PostgresError.class.php.
const PostgresError::INVALID_COLUMN_DEFINITION = '42611' |
Definition at line 237 of file PostgresError.class.php.
const PostgresError::INVALID_COLUMN_REFERENCE = '42P10' |
Definition at line 236 of file PostgresError.class.php.
const PostgresError::INVALID_CURSOR_DEFINITION = '42P11' |
Definition at line 238 of file PostgresError.class.php.
const PostgresError::INVALID_CURSOR_NAME = '34000' |
Definition at line 168 of file PostgresError.class.php.
const PostgresError::INVALID_CURSOR_STATE = '24000' |
Definition at line 125 of file PostgresError.class.php.
const PostgresError::INVALID_DATABASE_DEFINITION = '42P12' |
Definition at line 239 of file PostgresError.class.php.
const PostgresError::INVALID_DATETIME_FORMAT = '22007' |
Definition at line 89 of file PostgresError.class.php.
const PostgresError::INVALID_ESCAPE_CHARACTER = '22019' |
Definition at line 90 of file PostgresError.class.php.
const PostgresError::INVALID_ESCAPE_OCTET = '2200D' |
Definition at line 91 of file PostgresError.class.php.
const PostgresError::INVALID_ESCAPE_SEQUENCE = '22025' |
Definition at line 92 of file PostgresError.class.php.
const PostgresError::INVALID_FOREIGN_KEY = '42830' |
Definition at line 211 of file PostgresError.class.php.
const PostgresError::INVALID_FUNCTION_DEFINITION = '42P13' |
Definition at line 240 of file PostgresError.class.php.
const PostgresError::INVALID_GRANT_OPERATION = '0LP01' |
Definition at line 67 of file PostgresError.class.php.
const PostgresError::INVALID_GRANTOR = '0L000' |
Definition at line 66 of file PostgresError.class.php.
const PostgresError::INVALID_INDICATOR_PARAMETER_VALUE = '22010' |
Definition at line 94 of file PostgresError.class.php.
const PostgresError::INVALID_LIMIT_VALUE = '22020' |
Definition at line 95 of file PostgresError.class.php.
const PostgresError::INVALID_LOCATOR_SPECIFICATION = '0F001' |
Definition at line 63 of file PostgresError.class.php.
const PostgresError::INVALID_NAME = '42602' |
Definition at line 212 of file PostgresError.class.php.
const PostgresError::INVALID_OBJECT_DEFINITION = '42P17' |
Definition at line 244 of file PostgresError.class.php.
const PostgresError::INVALID_PARAMETER_VALUE = '22023' |
Definition at line 96 of file PostgresError.class.php.
const PostgresError::INVALID_PREPARED_STATEMENT_DEFINITION = '42P14' |
Definition at line 241 of file PostgresError.class.php.
const PostgresError::INVALID_REGULAR_EXPRESSION = '2201B' |
Definition at line 97 of file PostgresError.class.php.
const PostgresError::INVALID_ROLE_SPECIFICATION = '0P000' |
Definition at line 70 of file PostgresError.class.php.
const PostgresError::INVALID_SAVEPOINT_SPECIFICATION = '3B001' |
Definition at line 190 of file PostgresError.class.php.
const PostgresError::INVALID_SCHEMA_DEFINITION = '42P15' |
Definition at line 242 of file PostgresError.class.php.
const PostgresError::INVALID_SCHEMA_NAME = '3F000' |
Definition at line 196 of file PostgresError.class.php.
const PostgresError::INVALID_SQL_STATEMENT_NAME = '26000' |
Definition at line 141 of file PostgresError.class.php.
const PostgresError::INVALID_SQLSTATE_RETURNED = '39001' |
Definition at line 181 of file PostgresError.class.php.
const PostgresError::INVALID_TABLE_DEFINITION = '42P16' |
Definition at line 243 of file PostgresError.class.php.
const PostgresError::INVALID_TEXT_REPRESENTATION = '22P02' |
Definition at line 111 of file PostgresError.class.php.
const PostgresError::INVALID_TIME_ZONE_DISPLACEMENT_VALUE = '22009' |
Definition at line 98 of file PostgresError.class.php.
const PostgresError::INVALID_TRANSACTION_INITIATION = '0B000' |
Definition at line 59 of file PostgresError.class.php.
const PostgresError::INVALID_TRANSACTION_STATE = '25000' |
Definition at line 128 of file PostgresError.class.php.
const PostgresError::INVALID_TRANSACTION_TERMINATION = '2D000' |
Definition at line 154 of file PostgresError.class.php.
const PostgresError::INVALID_USE_OF_ESCAPE_CHARACTER = '2200C' |
Definition at line 99 of file PostgresError.class.php.
const PostgresError::IO_ERROR = '58030' |
Definition at line 275 of file PostgresError.class.php.
const PostgresError::LOCATOR_EXCEPTION = '0F000' |
Definition at line 62 of file PostgresError.class.php.
const PostgresError::LOCK_FILE_EXISTS = 'F0001' |
Definition at line 281 of file PostgresError.class.php.
const PostgresError::LOCK_NOT_AVAILABLE = '55P03' |
Definition at line 265 of file PostgresError.class.php.
const PostgresError::MODIFYING_SQL_DATA_NOT_PERMITTED = '2F002' |
Definition at line 159 of file PostgresError.class.php.
const PostgresError::MODIFYING_SQL_DATA_NOT_PERMITTED_EXTERNAL = '38002' |
Definition at line 175 of file PostgresError.class.php.
const PostgresError::MOST_SPECIFIC_TYPE_MISMATCH = '2200G' |
Definition at line 100 of file PostgresError.class.php.
const PostgresError::NAME_TOO_LONG = '42622' |
Definition at line 213 of file PostgresError.class.php.
const PostgresError::NO_ACTIVE_SQL_TRANSACTION = '25P01' |
Definition at line 137 of file PostgresError.class.php.
const PostgresError::NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION = '25005' |
Definition at line 134 of file PostgresError.class.php.
const PostgresError::NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED = '02001' |
Definition at line 38 of file PostgresError.class.php.
const PostgresError::NO_DATA = '02000' |
Definition at line 37 of file PostgresError.class.php.
const PostgresError::NONSTANDARD_USE_OF_ESCAPE_CHARACTER = '22P06' |
Definition at line 93 of file PostgresError.class.php.
const PostgresError::NOT_NULL_VIOLATION = '23502' |
Definition at line 119 of file PostgresError.class.php.
const PostgresError::NULL_VALUE_ELIMINATED_IN_SET_FUNCTION = '01003' |
Definition at line 28 of file PostgresError.class.php.
const PostgresError::NULL_VALUE_NO_INDICATOR_PARAMETER = '22002' |
Definition at line 102 of file PostgresError.class.php.
const PostgresError::NULL_VALUE_NOT_ALLOWED = '22004' |
Definition at line 101 of file PostgresError.class.php.
const PostgresError::NULL_VALUE_NOT_ALLOWED_EXTERNAL = '39004' |
Definition at line 184 of file PostgresError.class.php.
const PostgresError::NUMERIC_VALUE_OUT_OF_RANGE = '22003' |
Definition at line 103 of file PostgresError.class.php.
const PostgresError::OBJECT_IN_USE = '55006' |
Definition at line 263 of file PostgresError.class.php.
const PostgresError::OBJECT_NOT_IN_PREREQUISITE_STATE = '55000' |
Definition at line 262 of file PostgresError.class.php.
const PostgresError::OPERATOR_INTERVENTION = '57000' |
Definition at line 268 of file PostgresError.class.php.
const PostgresError::OUT_OF_MEMORY = '53200' |
Definition at line 252 of file PostgresError.class.php.
const PostgresError::PLPGSQL_ERROR = 'P0000' |
Definition at line 284 of file PostgresError.class.php.
const PostgresError::PRIVILEGE_NOT_GRANTED = '01007' |
Definition at line 29 of file PostgresError.class.php.
const PostgresError::PRIVILEGE_NOT_REVOKED = '01006' |
Definition at line 30 of file PostgresError.class.php.
const PostgresError::PROGRAM_LIMIT_EXCEEDED = '54000' |
Definition at line 256 of file PostgresError.class.php.
const PostgresError::PROHIBITED_SQL_STATEMENT_ATTEMPTED = '38003' |
Definition at line 176 of file PostgresError.class.php.
const PostgresError::PROHIBITED_SQL_STATEMENT_ATTEMPTED_EXCEPTION = '2F003' |
Definition at line 162 of file PostgresError.class.php.
const PostgresError::PROTOCOL_VIOLATION = '08P01' |
Definition at line 50 of file PostgresError.class.php.
const PostgresError::QUERY_CANCELED = '57014' |
Definition at line 269 of file PostgresError.class.php.
const PostgresError::RAISE_EXCEPTION = 'P0001' |
Definition at line 285 of file PostgresError.class.php.
const PostgresError::READ_ONLY_SQL_TRANSACTION = '25006' |
Definition at line 135 of file PostgresError.class.php.
const PostgresError::READING_SQL_DATA_NOT_PERMITTED = '38004' |
Definition at line 177 of file PostgresError.class.php.
const PostgresError::READING_SQL_DATA_NOT_PERMITTED_EXCEPTION = '2F004' |
Definition at line 165 of file PostgresError.class.php.
const PostgresError::RESERVED_NAME = '42939' |
Definition at line 214 of file PostgresError.class.php.
const PostgresError::RESTRICT_VIOLATION = '23001' |
Definition at line 118 of file PostgresError.class.php.
const PostgresError::SAVEPOINT_EXCEPTION = '3B000' |
Definition at line 189 of file PostgresError.class.php.
const PostgresError::SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED = '25007' |
Definition at line 136 of file PostgresError.class.php.
const PostgresError::SERIALIZATION_FAILURE = '40001' |
Definition at line 201 of file PostgresError.class.php.
const PostgresError::SQL_ROUTINE_EXCEPTION = '2F000' |
Definition at line 157 of file PostgresError.class.php.
const PostgresError::SQL_STATEMENT_NOT_YET_COMPLETE = '03000' |
Definition at line 41 of file PostgresError.class.php.
const PostgresError::SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION = '08001' |
Definition at line 47 of file PostgresError.class.php.
const PostgresError::SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION = '08004' |
Definition at line 48 of file PostgresError.class.php.
const PostgresError::SRF_PROTOCOL_VIOLATED = '39P02' |
Definition at line 186 of file PostgresError.class.php.
const PostgresError::STATEMENT_COMPLETION_UNKNOWN = '40003' |
Definition at line 202 of file PostgresError.class.php.
const PostgresError::STATEMENT_TOO_COMPLEX = '54001' |
Definition at line 257 of file PostgresError.class.php.
const PostgresError::STRING_DATA_LENGTH_MISMATCH = '22026' |
Definition at line 104 of file PostgresError.class.php.
const PostgresError::STRING_DATA_RIGHT_TRUNCATION = '22001' |
Definition at line 105 of file PostgresError.class.php.
const PostgresError::STRING_DATA_RIGHT_TRUNCATION_WARNING = '01004' |
Definition at line 33 of file PostgresError.class.php.
const PostgresError::SUBSTRING_ERROR = '22011' |
Definition at line 106 of file PostgresError.class.php.
const PostgresError::SUCCESSFUL_COMPLETION = '00000' |
Definition at line 22 of file PostgresError.class.php.
const PostgresError::SYNTAX_ERROR = '42601' |
Definition at line 207 of file PostgresError.class.php.
const PostgresError::SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION = '42000' |
Definition at line 206 of file PostgresError.class.php.
const PostgresError::TOO_MANY_ARGUMENTS = '54023' |
Definition at line 259 of file PostgresError.class.php.
const PostgresError::TOO_MANY_COLUMNS = '54011' |
Definition at line 258 of file PostgresError.class.php.
const PostgresError::TOO_MANY_CONNECTIONS = '53300' |
Definition at line 253 of file PostgresError.class.php.
const PostgresError::TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION = '40002' |
Definition at line 200 of file PostgresError.class.php.
const PostgresError::TRANSACTION_RESOLUTION_UNKNOWN = '08007' |
Definition at line 49 of file PostgresError.class.php.
const PostgresError::TRANSACTION_ROLLBACK = '40000' |
Definition at line 199 of file PostgresError.class.php.
const PostgresError::TRIGGER_PROTOCOL_VIOLATED = '39P01' |
Definition at line 185 of file PostgresError.class.php.
const PostgresError::TRIGGERED_ACTION_EXCEPTION = '09000' |
Definition at line 53 of file PostgresError.class.php.
const PostgresError::TRIGGERED_DATA_CHANGE_VIOLATION = '27000' |
Definition at line 144 of file PostgresError.class.php.
const PostgresError::TRIM_ERROR = '22027' |
Definition at line 107 of file PostgresError.class.php.
const PostgresError::UNDEFINED_COLUMN = '42703' |
Definition at line 218 of file PostgresError.class.php.
const PostgresError::UNDEFINED_FILE = '58P01' |
Definition at line 276 of file PostgresError.class.php.
const PostgresError::UNDEFINED_FUNCTION = '42883' |
Definition at line 219 of file PostgresError.class.php.
const PostgresError::UNDEFINED_OBJECT = '42704' |
Definition at line 222 of file PostgresError.class.php.
const PostgresError::UNDEFINED_PARAMETER = '42P02' |
Definition at line 221 of file PostgresError.class.php.
const PostgresError::UNDEFINED_TABLE = '42P01' |
Definition at line 220 of file PostgresError.class.php.
const PostgresError::UNIQUE_VIOLATION = '23505' |
Definition at line 121 of file PostgresError.class.php.
Referenced by PgSQL::queryRaw().
const PostgresError::UNTERMINATED_C_STRING = '22024' |
Definition at line 108 of file PostgresError.class.php.
const PostgresError::UNTRANSLATABLE_CHARACTER = '22P05' |
Definition at line 114 of file PostgresError.class.php.
const PostgresError::WARNING = '01000' |
Definition at line 25 of file PostgresError.class.php.
const PostgresError::WITH_CHECK_OPTION_VIOLATION = '44000' |
Definition at line 247 of file PostgresError.class.php.
const PostgresError::WRONG_OBJECT_TYPE = '42809' |
Definition at line 217 of file PostgresError.class.php.
const PostgresError::ZERO_LENGTH_CHARACTER_STRING = '2200F' |
Definition at line 109 of file PostgresError.class.php.