ecpgerrno.h

来自「关系型数据库 Postgresql 6.5.2」· C头文件 代码 · 共 37 行

H
37
字号
#ifndef _ECPG_ERROR_H#define _ECPG_ERROR_H#include <errno.h>/* This is a list of all error codes the embedded SQL program can return */#define ECPG_NO_ERROR		0#define ECPG_NOT_FOUND		100/* system error codes returned by ecpglib get the correct number, * but are made negative */#define ECPG_OUT_OF_MEMORY	-ENOMEM/* first we have a set of ecpg messages, they start at 200 */#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_CONVERT_BOOL	-207#define ECPG_EMPTY		-208#define ECPG_NO_CONN		-220#define ECPG_NOT_CONN		-221#define ECPG_INVALID_STMT	-230/* finally the backend error messages, they start at 400 */#define ECPG_PGSQL		-400#define ECPG_TRANS		-401#define ECPG_CONNECT		-402#endif	 /* !_ECPG_ERROR_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?