Static Public Member Functions | Public Attributes | Protected Attributes

PostgresError Class Reference
[Connectors and dialects for various databases]

PostgreSQL Error Codes. More...

Inheritance diagram for PostgresError:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static getAnyId ()
 must return any existent ID 1 should be ok for most enumerations

Public Attributes

const SUCCESSFUL_COMPLETION = '00000'
const WARNING = '01000'
const DYNAMIC_RESULT_SETS_RETURNED = '0100C'
const IMPLICIT_ZERO_BIT_PADDING = '01008'
const NULL_VALUE_ELIMINATED_IN_SET_FUNCTION = '01003'
const PRIVILEGE_NOT_GRANTED = '01007'
const PRIVILEGE_NOT_REVOKED = '01006'
const STRING_DATA_RIGHT_TRUNCATION_WARNING = '01004'
const DEPRECATED_FEATURE = '01P01'
const NO_DATA = '02000'
const NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED = '02001'
const SQL_STATEMENT_NOT_YET_COMPLETE = '03000'
const CONNECTION_EXCEPTION = '08000'
const CONNECTION_DOES_NOT_EXIST = '08003'
const CONNECTION_FAILURE = '08006'
const SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION = '08001'
const SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION = '08004'
const TRANSACTION_RESOLUTION_UNKNOWN = '08007'
const PROTOCOL_VIOLATION = '08P01'
const TRIGGERED_ACTION_EXCEPTION = '09000'
const FEATURE_NOT_SUPPORTED = '0A000'
const INVALID_TRANSACTION_INITIATION = '0B000'
const LOCATOR_EXCEPTION = '0F000'
const INVALID_LOCATOR_SPECIFICATION = '0F001'
const INVALID_GRANTOR = '0L000'
const INVALID_GRANT_OPERATION = '0LP01'
const INVALID_ROLE_SPECIFICATION = '0P000'
const CARDINALITY_VIOLATION = '21000'
const DATA_EXCEPTION = '22000'
const ARRAY_SUBSCRIPT_ERROR = '2202E'
const CHARACTER_NOT_IN_REPERTOIRE = '22021'
const DATETIME_FIELD_OVERFLOW = '22008'
const DIVISION_BY_ZERO = '22012'
const ERROR_IN_ASSIGNMENT = '22005'
const ESCAPE_CHARACTER_CONFLICT = '2200B'
const INDICATOR_OVERFLOW = '22022'
const INTERVAL_FIELD_OVERFLOW = '22015'
const INVALID_ARGUMENT_FOR_LOGARITHM = '2201E'
const INVALID_ARGUMENT_FOR_POWER_FUNCTION = '2201F'
const INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION = '2201G'
const INVALID_CHARACTER_VALUE_FOR_CAST = '22018'
const INVALID_DATETIME_FORMAT = '22007'
const INVALID_ESCAPE_CHARACTER = '22019'
const INVALID_ESCAPE_OCTET = '2200D'
const INVALID_ESCAPE_SEQUENCE = '22025'
const NONSTANDARD_USE_OF_ESCAPE_CHARACTER = '22P06'
const INVALID_INDICATOR_PARAMETER_VALUE = '22010'
const INVALID_LIMIT_VALUE = '22020'
const INVALID_PARAMETER_VALUE = '22023'
const INVALID_REGULAR_EXPRESSION = '2201B'
const INVALID_TIME_ZONE_DISPLACEMENT_VALUE = '22009'
const INVALID_USE_OF_ESCAPE_CHARACTER = '2200C'
const MOST_SPECIFIC_TYPE_MISMATCH = '2200G'
const NULL_VALUE_NOT_ALLOWED = '22004'
const NULL_VALUE_NO_INDICATOR_PARAMETER = '22002'
const NUMERIC_VALUE_OUT_OF_RANGE = '22003'
const STRING_DATA_LENGTH_MISMATCH = '22026'
const STRING_DATA_RIGHT_TRUNCATION = '22001'
const SUBSTRING_ERROR = '22011'
const TRIM_ERROR = '22027'
const UNTERMINATED_C_STRING = '22024'
const ZERO_LENGTH_CHARACTER_STRING = '2200F'
const FLOATING_POINT_EXCEPTION = '22P01'
const INVALID_TEXT_REPRESENTATION = '22P02'
const INVALID_BINARY_REPRESENTATION = '22P03'
const BAD_COPY_FILE_FORMAT = '22P04'
const UNTRANSLATABLE_CHARACTER = '22P05'
const INTEGRITY_CONSTRAINT_VIOLATION = '23000'
const RESTRICT_VIOLATION = '23001'
const NOT_NULL_VIOLATION = '23502'
const FOREIGN_KEY_VIOLATION = '23503'
const UNIQUE_VIOLATION = '23505'
const CHECK_VIOLATION = '23514'
const INVALID_CURSOR_STATE = '24000'
const INVALID_TRANSACTION_STATE = '25000'
const ACTIVE_SQL_TRANSACTION = '25001'
const BRANCH_TRANSACTION_ALREADY_ACTIVE = '25002'
const HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL = '25008'
const INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION = '25003'
const INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION = '25004'
const NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION = '25005'
const READ_ONLY_SQL_TRANSACTION = '25006'
const SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED = '25007'
const NO_ACTIVE_SQL_TRANSACTION = '25P01'
const IN_FAILED_SQL_TRANSACTION = '25P02'
const INVALID_SQL_STATEMENT_NAME = '26000'
const TRIGGERED_DATA_CHANGE_VIOLATION = '27000'
const INVALID_AUTHORIZATION_SPECIFICATION = '28000'
const DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST = '2B000'
const DEPENDENT_OBJECTS_STILL_EXIST = '2BP01'
const INVALID_TRANSACTION_TERMINATION = '2D000'
const SQL_ROUTINE_EXCEPTION = '2F000'
const FUNCTION_EXECUTED_NO_RETURN_STATEMENT = '2F005'
const MODIFYING_SQL_DATA_NOT_PERMITTED = '2F002'
const PROHIBITED_SQL_STATEMENT_ATTEMPTED_EXCEPTION = '2F003'
const READING_SQL_DATA_NOT_PERMITTED_EXCEPTION = '2F004'
const INVALID_CURSOR_NAME = '34000'
const EXTERNAL_ROUTINE_EXCEPTION = '38000'
const CONTAINING_SQL_NOT_PERMITTED = '38001'
const MODIFYING_SQL_DATA_NOT_PERMITTED_EXTERNAL = '38002'
const PROHIBITED_SQL_STATEMENT_ATTEMPTED = '38003'
const READING_SQL_DATA_NOT_PERMITTED = '38004'
const EXTERNAL_ROUTINE_INVOCATION_EXCEPTION = '39000'
const INVALID_SQLSTATE_RETURNED = '39001'
const NULL_VALUE_NOT_ALLOWED_EXTERNAL = '39004'
const TRIGGER_PROTOCOL_VIOLATED = '39P01'
const SRF_PROTOCOL_VIOLATED = '39P02'
const SAVEPOINT_EXCEPTION = '3B000'
const INVALID_SAVEPOINT_SPECIFICATION = '3B001'
const INVALID_CATALOG_NAME = '3D000'
const INVALID_SCHEMA_NAME = '3F000'
const TRANSACTION_ROLLBACK = '40000'
const TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION = '40002'
const SERIALIZATION_FAILURE = '40001'
const STATEMENT_COMPLETION_UNKNOWN = '40003'
const DEADLOCK_DETECTED = '40P01'
const SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION = '42000'
const SYNTAX_ERROR = '42601'
const INSUFFICIENT_PRIVILEGE = '42501'
const CANNOT_COERCE = '42846'
const GROUPING_ERROR = '42803'
const INVALID_FOREIGN_KEY = '42830'
const INVALID_NAME = '42602'
const NAME_TOO_LONG = '42622'
const RESERVED_NAME = '42939'
const DATATYPE_MISMATCH = '42804'
const INDETERMINATE_DATATYPE = '42P18'
const WRONG_OBJECT_TYPE = '42809'
const UNDEFINED_COLUMN = '42703'
const UNDEFINED_FUNCTION = '42883'
const UNDEFINED_TABLE = '42P01'
const UNDEFINED_PARAMETER = '42P02'
const UNDEFINED_OBJECT = '42704'
const DUPLICATE_COLUMN = '42701'
const DUPLICATE_CURSOR = '42P03'
const DUPLICATE_DATABASE = '42P04'
const DUPLICATE_FUNCTION = '42723'
const DUPLICATE_PREPARED_STATEMENT = '42P05'
const DUPLICATE_SCHEMA = '42P06'
const DUPLICATE_TABLE = '42P07'
const DUPLICATE_ALIAS = '42712'
const DUPLICATE_OBJECT = '42710'
const AMBIGUOUS_COLUMN = '42702'
const AMBIGUOUS_FUNCTION = '42725'
const AMBIGUOUS_PARAMETER = '42P08'
const AMBIGUOUS_ALIAS = '42P09'
const INVALID_COLUMN_REFERENCE = '42P10'
const INVALID_COLUMN_DEFINITION = '42611'
const INVALID_CURSOR_DEFINITION = '42P11'
const INVALID_DATABASE_DEFINITION = '42P12'
const INVALID_FUNCTION_DEFINITION = '42P13'
const INVALID_PREPARED_STATEMENT_DEFINITION = '42P14'
const INVALID_SCHEMA_DEFINITION = '42P15'
const INVALID_TABLE_DEFINITION = '42P16'
const INVALID_OBJECT_DEFINITION = '42P17'
const WITH_CHECK_OPTION_VIOLATION = '44000'
const INSUFFICIENT_RESOURCES = '53000'
const DISK_FULL = '53100'
const OUT_OF_MEMORY = '53200'
const TOO_MANY_CONNECTIONS = '53300'
const PROGRAM_LIMIT_EXCEEDED = '54000'
const STATEMENT_TOO_COMPLEX = '54001'
const TOO_MANY_COLUMNS = '54011'
const TOO_MANY_ARGUMENTS = '54023'
const OBJECT_NOT_IN_PREREQUISITE_STATE = '55000'
const OBJECT_IN_USE = '55006'
const CANT_CHANGE_RUNTIME_PARAM = '55P02'
const LOCK_NOT_AVAILABLE = '55P03'
const OPERATOR_INTERVENTION = '57000'
const QUERY_CANCELED = '57014'
const ADMIN_SHUTDOWN = '57P01'
const CRASH_SHUTDOWN = '57P02'
const CANNOT_CONNECT_NOW = '57P03'
const IO_ERROR = '58030'
const UNDEFINED_FILE = '58P01'
const DUPLICATE_FILE = '58P02'
const CONFIG_FILE_ERROR = 'F0000'
const LOCK_FILE_EXISTS = 'F0001'
const PLPGSQL_ERROR = 'P0000'
const RAISE_EXCEPTION = 'P0001'
const INTERNAL_ERROR = 'XX000'
const DATA_CORRUPTED = 'XX001'
const INDEX_CORRUPTED = 'XX002'

Protected Attributes

 $names

Detailed Description

PostgreSQL Error Codes.

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

Definition at line 19 of file PostgresError.class.php.


Member Function Documentation

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.


Member Data Documentation

PostgresError::$names [protected]

Reimplemented from Enumeration.

Definition at line 292 of file PostgresError.class.php.

Definition at line 129 of file PostgresError.class.php.

Definition at line 270 of file PostgresError.class.php.

Definition at line 235 of file PostgresError.class.php.

Definition at line 232 of file PostgresError.class.php.

Definition at line 233 of file PostgresError.class.php.

Definition at line 234 of file PostgresError.class.php.

Definition at line 77 of file PostgresError.class.php.

Definition at line 113 of file PostgresError.class.php.

Definition at line 130 of file PostgresError.class.php.

Definition at line 209 of file PostgresError.class.php.

Definition at line 272 of file PostgresError.class.php.

Definition at line 264 of file PostgresError.class.php.

Definition at line 73 of file PostgresError.class.php.

Definition at line 78 of file PostgresError.class.php.

Definition at line 122 of file PostgresError.class.php.

Definition at line 280 of file PostgresError.class.php.

Definition at line 45 of file PostgresError.class.php.

Definition at line 44 of file PostgresError.class.php.

Definition at line 46 of file PostgresError.class.php.

Definition at line 172 of file PostgresError.class.php.

Definition at line 271 of file PostgresError.class.php.

Definition at line 289 of file PostgresError.class.php.

Definition at line 76 of file PostgresError.class.php.

Definition at line 215 of file PostgresError.class.php.

Definition at line 79 of file PostgresError.class.php.

Definition at line 203 of file PostgresError.class.php.

Definition at line 151 of file PostgresError.class.php.

Definition at line 150 of file PostgresError.class.php.

Definition at line 34 of file PostgresError.class.php.

const PostgresError::DISK_FULL = '53100'

Definition at line 251 of file PostgresError.class.php.

Definition at line 80 of file PostgresError.class.php.

Definition at line 230 of file PostgresError.class.php.

Definition at line 223 of file PostgresError.class.php.

Definition at line 224 of file PostgresError.class.php.

Definition at line 225 of file PostgresError.class.php.

Definition at line 277 of file PostgresError.class.php.

Definition at line 226 of file PostgresError.class.php.

Definition at line 231 of file PostgresError.class.php.

Definition at line 227 of file PostgresError.class.php.

Definition at line 228 of file PostgresError.class.php.

Definition at line 229 of file PostgresError.class.php.

Definition at line 26 of file PostgresError.class.php.

Definition at line 81 of file PostgresError.class.php.

Definition at line 82 of file PostgresError.class.php.

Definition at line 171 of file PostgresError.class.php.

Definition at line 180 of file PostgresError.class.php.

Definition at line 56 of file PostgresError.class.php.

Definition at line 110 of file PostgresError.class.php.

Definition at line 120 of file PostgresError.class.php.

Definition at line 158 of file PostgresError.class.php.

Definition at line 210 of file PostgresError.class.php.

Definition at line 131 of file PostgresError.class.php.

Definition at line 27 of file PostgresError.class.php.

Definition at line 138 of file PostgresError.class.php.

Definition at line 132 of file PostgresError.class.php.

Definition at line 133 of file PostgresError.class.php.

Definition at line 216 of file PostgresError.class.php.

Definition at line 290 of file PostgresError.class.php.

Definition at line 83 of file PostgresError.class.php.

Definition at line 208 of file PostgresError.class.php.

Definition at line 250 of file PostgresError.class.php.

Definition at line 117 of file PostgresError.class.php.

Definition at line 288 of file PostgresError.class.php.

Definition at line 84 of file PostgresError.class.php.

Definition at line 85 of file PostgresError.class.php.

Definition at line 86 of file PostgresError.class.php.

Definition at line 87 of file PostgresError.class.php.

Definition at line 147 of file PostgresError.class.php.

Definition at line 112 of file PostgresError.class.php.

Definition at line 193 of file PostgresError.class.php.

Definition at line 88 of file PostgresError.class.php.

Definition at line 237 of file PostgresError.class.php.

Definition at line 236 of file PostgresError.class.php.

Definition at line 238 of file PostgresError.class.php.

Definition at line 168 of file PostgresError.class.php.

Definition at line 125 of file PostgresError.class.php.

Definition at line 239 of file PostgresError.class.php.

Definition at line 89 of file PostgresError.class.php.

Definition at line 90 of file PostgresError.class.php.

Definition at line 91 of file PostgresError.class.php.

Definition at line 92 of file PostgresError.class.php.

Definition at line 211 of file PostgresError.class.php.

Definition at line 240 of file PostgresError.class.php.

Definition at line 67 of file PostgresError.class.php.

Definition at line 66 of file PostgresError.class.php.

Definition at line 94 of file PostgresError.class.php.

Definition at line 95 of file PostgresError.class.php.

Definition at line 63 of file PostgresError.class.php.

const PostgresError::INVALID_NAME = '42602'

Definition at line 212 of file PostgresError.class.php.

Definition at line 244 of file PostgresError.class.php.

Definition at line 96 of file PostgresError.class.php.

Definition at line 241 of file PostgresError.class.php.

Definition at line 97 of file PostgresError.class.php.

Definition at line 70 of file PostgresError.class.php.

Definition at line 190 of file PostgresError.class.php.

Definition at line 242 of file PostgresError.class.php.

Definition at line 196 of file PostgresError.class.php.

Definition at line 141 of file PostgresError.class.php.

Definition at line 181 of file PostgresError.class.php.

Definition at line 243 of file PostgresError.class.php.

Definition at line 111 of file PostgresError.class.php.

Definition at line 98 of file PostgresError.class.php.

Definition at line 59 of file PostgresError.class.php.

Definition at line 128 of file PostgresError.class.php.

Definition at line 154 of file PostgresError.class.php.

Definition at line 99 of file PostgresError.class.php.

const PostgresError::IO_ERROR = '58030'

Definition at line 275 of file PostgresError.class.php.

Definition at line 62 of file PostgresError.class.php.

Definition at line 281 of file PostgresError.class.php.

Definition at line 265 of file PostgresError.class.php.

Definition at line 159 of file PostgresError.class.php.

Definition at line 175 of file PostgresError.class.php.

Definition at line 100 of file PostgresError.class.php.

Definition at line 213 of file PostgresError.class.php.

Definition at line 137 of file PostgresError.class.php.

Definition at line 134 of file PostgresError.class.php.

Definition at line 38 of file PostgresError.class.php.

const PostgresError::NO_DATA = '02000'

Definition at line 37 of file PostgresError.class.php.

Definition at line 93 of file PostgresError.class.php.

Definition at line 119 of file PostgresError.class.php.

Definition at line 28 of file PostgresError.class.php.

Definition at line 102 of file PostgresError.class.php.

Definition at line 101 of file PostgresError.class.php.

Definition at line 184 of file PostgresError.class.php.

Definition at line 103 of file PostgresError.class.php.

Definition at line 263 of file PostgresError.class.php.

Definition at line 262 of file PostgresError.class.php.

Definition at line 268 of file PostgresError.class.php.

Definition at line 252 of file PostgresError.class.php.

Definition at line 284 of file PostgresError.class.php.

Definition at line 29 of file PostgresError.class.php.

Definition at line 30 of file PostgresError.class.php.

Definition at line 256 of file PostgresError.class.php.

Definition at line 176 of file PostgresError.class.php.

Definition at line 162 of file PostgresError.class.php.

Definition at line 50 of file PostgresError.class.php.

Definition at line 269 of file PostgresError.class.php.

Definition at line 285 of file PostgresError.class.php.

Definition at line 135 of file PostgresError.class.php.

Definition at line 177 of file PostgresError.class.php.

Definition at line 165 of file PostgresError.class.php.

Definition at line 214 of file PostgresError.class.php.

Definition at line 118 of file PostgresError.class.php.

Definition at line 189 of file PostgresError.class.php.

Definition at line 136 of file PostgresError.class.php.

Definition at line 201 of file PostgresError.class.php.

Definition at line 157 of file PostgresError.class.php.

Definition at line 41 of file PostgresError.class.php.

Definition at line 47 of file PostgresError.class.php.

Definition at line 48 of file PostgresError.class.php.

Definition at line 186 of file PostgresError.class.php.

Definition at line 202 of file PostgresError.class.php.

Definition at line 257 of file PostgresError.class.php.

Definition at line 104 of file PostgresError.class.php.

Definition at line 105 of file PostgresError.class.php.

Definition at line 33 of file PostgresError.class.php.

Definition at line 106 of file PostgresError.class.php.

Definition at line 22 of file PostgresError.class.php.

const PostgresError::SYNTAX_ERROR = '42601'

Definition at line 207 of file PostgresError.class.php.

Definition at line 206 of file PostgresError.class.php.

Definition at line 259 of file PostgresError.class.php.

Definition at line 258 of file PostgresError.class.php.

Definition at line 253 of file PostgresError.class.php.

Definition at line 200 of file PostgresError.class.php.

Definition at line 49 of file PostgresError.class.php.

Definition at line 199 of file PostgresError.class.php.

Definition at line 185 of file PostgresError.class.php.

Definition at line 53 of file PostgresError.class.php.

Definition at line 144 of file PostgresError.class.php.

const PostgresError::TRIM_ERROR = '22027'

Definition at line 107 of file PostgresError.class.php.

Definition at line 218 of file PostgresError.class.php.

Definition at line 276 of file PostgresError.class.php.

Definition at line 219 of file PostgresError.class.php.

Definition at line 222 of file PostgresError.class.php.

Definition at line 221 of file PostgresError.class.php.

Definition at line 220 of file PostgresError.class.php.

Definition at line 121 of file PostgresError.class.php.

Referenced by PgSQL::queryRaw().

Definition at line 108 of file PostgresError.class.php.

Definition at line 114 of file PostgresError.class.php.

const PostgresError::WARNING = '01000'

Definition at line 25 of file PostgresError.class.php.

Definition at line 247 of file PostgresError.class.php.

Definition at line 217 of file PostgresError.class.php.

Definition at line 109 of file PostgresError.class.php.


The documentation for this class was generated from the following file: