Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines

ecpgerrno.h File Reference

#include <errno.h>
Include dependency graph for ecpgerrno.h:

Go to the source code of this file.

Defines

#define ECPG_NO_ERROR   0
#define ECPG_NOT_FOUND   100
#define ECPG_OUT_OF_MEMORY   -ENOMEM
#define ECPG_UNSUPPORTED   -200
#define ECPG_TOO_MANY_ARGUMENTS   -201
#define ECPG_TOO_FEW_ARGUMENTS   -202
#define ECPG_TOO_MANY_MATCHES   -203
#define ECPG_INT_FORMAT   -204
#define ECPG_UINT_FORMAT   -205
#define ECPG_FLOAT_FORMAT   -206
#define ECPG_NUMERIC_FORMAT   -207
#define ECPG_INTERVAL_FORMAT   -208
#define ECPG_DATE_FORMAT   -209
#define ECPG_TIMESTAMP_FORMAT   -210
#define ECPG_CONVERT_BOOL   -211
#define ECPG_EMPTY   -212
#define ECPG_MISSING_INDICATOR   -213
#define ECPG_NO_ARRAY   -214
#define ECPG_DATA_NOT_ARRAY   -215
#define ECPG_ARRAY_INSERT   -216
#define ECPG_NO_CONN   -220
#define ECPG_NOT_CONN   -221
#define ECPG_INVALID_STMT   -230
#define ECPG_UNKNOWN_DESCRIPTOR   -240
#define ECPG_INVALID_DESCRIPTOR_INDEX   -241
#define ECPG_UNKNOWN_DESCRIPTOR_ITEM   -242
#define ECPG_VAR_NOT_NUMERIC   -243
#define ECPG_VAR_NOT_CHAR   -244
#define ECPG_PGSQL   -400
#define ECPG_TRANS   -401
#define ECPG_CONNECT   -402
#define ECPG_DUPLICATE_KEY   -403
#define ECPG_SUBSELECT_NOT_ONE   -404
#define ECPG_INFORMIX_DUPLICATE_KEY   -239
#define ECPG_INFORMIX_SUBSELECT_NOT_ONE   -284
#define ECPG_WARNING_UNRECOGNIZED   -600
#define ECPG_WARNING_QUERY_IGNORED   -601
#define ECPG_WARNING_UNKNOWN_PORTAL   -602
#define ECPG_WARNING_IN_TRANSACTION   -603
#define ECPG_WARNING_NO_TRANSACTION   -604
#define ECPG_WARNING_PORTAL_EXISTS   -605

Define Documentation

#define ECPG_ARRAY_INSERT   -216

Definition at line 34 of file ecpgerrno.h.

Referenced by ecpg_raise(), and ecpg_store_input().

#define ECPG_CONNECT   -402

Definition at line 51 of file ecpgerrno.h.

Referenced by ecpg_raise(), and ECPGconnect().

#define ECPG_CONVERT_BOOL   -211

Definition at line 29 of file ecpgerrno.h.

Referenced by ecpg_get_data(), ecpg_raise(), and ecpg_store_input().

#define ECPG_DATA_NOT_ARRAY   -215

Definition at line 33 of file ecpgerrno.h.

Referenced by ecpg_get_data(), and ecpg_raise().

#define ECPG_DATE_FORMAT   -209

Definition at line 27 of file ecpgerrno.h.

Referenced by ecpg_get_data().

#define ECPG_DUPLICATE_KEY   -403

Definition at line 52 of file ecpgerrno.h.

#define ECPG_EMPTY   -212

Definition at line 30 of file ecpgerrno.h.

Referenced by ecpg_check_PQresult(), ecpg_raise(), and ECPGdo().

#define ECPG_FLOAT_FORMAT   -206

Definition at line 24 of file ecpgerrno.h.

Referenced by ecpg_get_data(), and ecpg_raise().

#define ECPG_INFORMIX_DUPLICATE_KEY   -239

Definition at line 57 of file ecpgerrno.h.

Referenced by ecpg_raise_backend().

#define ECPG_INFORMIX_SUBSELECT_NOT_ONE   -284

Definition at line 58 of file ecpgerrno.h.

Referenced by ecpg_raise_backend(), and ecpg_store_result().

#define ECPG_INT_FORMAT   -204

Definition at line 22 of file ecpgerrno.h.

Referenced by ecpg_get_data(), and ecpg_raise().

#define ECPG_INTERVAL_FORMAT   -208

Definition at line 26 of file ecpgerrno.h.

Referenced by ecpg_get_data().

#define ECPG_INVALID_DESCRIPTOR_INDEX   -241

Definition at line 43 of file ecpgerrno.h.

Referenced by ecpg_raise(), and ECPGget_desc().

#define ECPG_INVALID_STMT   -230

Definition at line 39 of file ecpgerrno.h.

Referenced by deallocate_one(), ecpg_raise(), ECPGdeallocate(), ECPGdescribe(), and ECPGdo().

#define ECPG_MISSING_INDICATOR   -213

Definition at line 31 of file ecpgerrno.h.

Referenced by ecpg_get_data(), and ecpg_raise().

#define ECPG_NO_ARRAY   -214

Definition at line 32 of file ecpgerrno.h.

Referenced by ecpg_raise(), and ecpg_store_result().

#define ECPG_NO_CONN   -220

Definition at line 36 of file ecpgerrno.h.

Referenced by ecpg_init(), ecpg_raise(), and ECPGdescribe().

#define ECPG_NO_ERROR   0

Definition at line 9 of file ecpgerrno.h.

#define ECPG_NOT_CONN   -221

Definition at line 37 of file ecpgerrno.h.

Referenced by ecpg_raise(), ECPGdo(), and ECPGstatus().

#define ECPG_NOT_FOUND   100

Definition at line 10 of file ecpgerrno.h.

Referenced by ecpg_execute(), ecpg_get_data(), ecpg_raise(), get_record1(), main(), and test().

#define ECPG_NUMERIC_FORMAT   -207

Definition at line 25 of file ecpgerrno.h.

Referenced by ecpg_get_data().

#define ECPG_OUT_OF_MEMORY   -ENOMEM
#define ECPG_PGSQL   -400

Definition at line 49 of file ecpgerrno.h.

#define ECPG_SUBSELECT_NOT_ONE   -404

Definition at line 53 of file ecpgerrno.h.

#define ECPG_TIMESTAMP_FORMAT   -210

Definition at line 28 of file ecpgerrno.h.

Referenced by ecpg_get_data().

#define ECPG_TOO_FEW_ARGUMENTS   -202

Definition at line 20 of file ecpgerrno.h.

Referenced by ecpg_execute(), and ecpg_raise().

#define ECPG_TOO_MANY_ARGUMENTS   -201

Definition at line 19 of file ecpgerrno.h.

Referenced by ecpg_execute(), and ecpg_raise().

#define ECPG_TOO_MANY_MATCHES   -203

Definition at line 21 of file ecpgerrno.h.

Referenced by ecpg_store_result(), and ECPGget_desc().

#define ECPG_TRANS   -401

Definition at line 50 of file ecpgerrno.h.

Referenced by ecpg_raise().

#define ECPG_UINT_FORMAT   -205

Definition at line 23 of file ecpgerrno.h.

Referenced by ecpg_get_data(), and ecpg_raise().

#define ECPG_UNKNOWN_DESCRIPTOR   -240

Definition at line 42 of file ecpgerrno.h.

Referenced by ecpg_find_desc(), ecpg_raise(), and ECPGdeallocate_desc().

#define ECPG_UNKNOWN_DESCRIPTOR_ITEM   -242

Definition at line 44 of file ecpgerrno.h.

Referenced by ecpg_raise(), ECPGget_desc(), and ECPGset_desc().

#define ECPG_UNSUPPORTED   -200

Definition at line 18 of file ecpgerrno.h.

Referenced by ecpg_get_data(), ecpg_raise(), ecpg_store_input(), and ECPGdescribe().

#define ECPG_VAR_NOT_CHAR   -244

Definition at line 46 of file ecpgerrno.h.

Referenced by ecpg_raise(), and get_char_item().

#define ECPG_VAR_NOT_NUMERIC   -243

Definition at line 45 of file ecpgerrno.h.

Referenced by ecpg_raise(), get_int_item(), and set_int_item().

#define ECPG_WARNING_IN_TRANSACTION   -603

Definition at line 72 of file ecpgerrno.h.

#define ECPG_WARNING_NO_TRANSACTION   -604

Definition at line 75 of file ecpgerrno.h.

#define ECPG_WARNING_PORTAL_EXISTS   -605

Definition at line 77 of file ecpgerrno.h.

#define ECPG_WARNING_QUERY_IGNORED   -601

Definition at line 68 of file ecpgerrno.h.

#define ECPG_WARNING_UNKNOWN_PORTAL   -602

Definition at line 70 of file ecpgerrno.h.

#define ECPG_WARNING_UNRECOGNIZED   -600

Definition at line 61 of file ecpgerrno.h.