Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
ecpgerrno.h80 linesDownload Raw Back to include
1/* src/interfaces/ecpg/include/ecpgerrno.h */2 3#ifndef _ECPG_ERRNO_H4#define _ECPG_ERRNO_H5 6#include <errno.h>7 8/* This is a list of all error codes the embedded SQL program can return */9#define ECPG_NO_ERROR		010#define ECPG_NOT_FOUND		10011 12/* system error codes returned by ecpglib get the correct number,13 * but are made negative14 */15#define ECPG_OUT_OF_MEMORY	-ENOMEM16 17/* first we have a set of ecpg messages, they start at 200 */18#define ECPG_UNSUPPORTED		-20019#define ECPG_TOO_MANY_ARGUMENTS		-20120#define ECPG_TOO_FEW_ARGUMENTS		-20221#define ECPG_TOO_MANY_MATCHES		-20322#define ECPG_INT_FORMAT			-20423#define ECPG_UINT_FORMAT		-20524#define ECPG_FLOAT_FORMAT		-20625#define ECPG_NUMERIC_FORMAT		-20726#define ECPG_INTERVAL_FORMAT		-20827#define ECPG_DATE_FORMAT		-20928#define ECPG_TIMESTAMP_FORMAT		-21029#define ECPG_CONVERT_BOOL		-21130#define ECPG_EMPTY			-21231#define ECPG_MISSING_INDICATOR		-21332#define ECPG_NO_ARRAY			-21433#define ECPG_DATA_NOT_ARRAY		-21534#define ECPG_ARRAY_INSERT		-21635 36#define ECPG_NO_CONN			-22037#define ECPG_NOT_CONN			-22138 39#define ECPG_INVALID_STMT		-23040 41/* dynamic SQL related */42#define ECPG_UNKNOWN_DESCRIPTOR		-24043#define ECPG_INVALID_DESCRIPTOR_INDEX	-24144#define ECPG_UNKNOWN_DESCRIPTOR_ITEM	-24245#define ECPG_VAR_NOT_NUMERIC		-24346#define ECPG_VAR_NOT_CHAR		-24447 48/* finally the backend error messages, they start at 400 */49#define ECPG_PGSQL			-40050#define ECPG_TRANS			-40151#define ECPG_CONNECT			-40252#define ECPG_DUPLICATE_KEY		-40353#define ECPG_SUBSELECT_NOT_ONE		-40454 55/* for compatibility we define some different error codes for the same error56 * if adding a new one make sure to not double define it */57#define ECPG_INFORMIX_DUPLICATE_KEY -23958#define ECPG_INFORMIX_SUBSELECT_NOT_ONE -28459 60/* backend WARNINGs, starting at 600 */61#define ECPG_WARNING_UNRECOGNIZED	   -60062 /* WARNING:  (transaction aborted): queries ignored until END */63 64 /*65  * WARNING:  current transaction is aborted, queries ignored until end of66  * transaction block67  */68#define ECPG_WARNING_QUERY_IGNORED	   -60169 /* WARNING:  PerformPortalClose: portal "*" not found */70#define ECPG_WARNING_UNKNOWN_PORTAL    -60271 /* WARNING:  BEGIN: already a transaction in progress */72#define ECPG_WARNING_IN_TRANSACTION    -60373 /* WARNING:  AbortTransaction and not in in-progress state */74 /* WARNING:  COMMIT: no transaction in progress */75#define ECPG_WARNING_NO_TRANSACTION    -60476 /* WARNING:  BlankPortalAssignName: portal * already exists */77#define ECPG_WARNING_PORTAL_EXISTS	   -60578 79#endif							/* !_ECPG_ERRNO_H */80 
codekingpro/portable-devtools · Team Ai