sqlca.h

来自「postgresql8.3.4源码,开源数据库」· C头文件 代码 · 共 67 行

H
67
字号
#ifndef POSTGRES_SQLCA_H#define POSTGRES_SQLCA_H#ifndef PGDLLIMPORT#if  defined(WIN32) || defined(__CYGWIN__)#define PGDLLIMPORT __declspec (dllimport)#else#define PGDLLIMPORT#endif   /* __CYGWIN__ */#endif   /* PGDLLIMPORT */#define SQLERRMC_LEN	150#ifdef __cplusplusextern		"C"{#endifstruct sqlca_t{	char		sqlcaid[8];	long		sqlabc;	long		sqlcode;	struct	{		int			sqlerrml;		char		sqlerrmc[SQLERRMC_LEN];	}			sqlerrm;	char		sqlerrp[8];	long		sqlerrd[6];	/* Element 0: empty						*/	/* 1: OID of processed tuple if applicable			*/	/* 2: number of rows processed				*/	/* after an INSERT, UPDATE or				*/	/* DELETE statement					*/	/* 3: empty						*/	/* 4: empty						*/	/* 5: empty						*/	char		sqlwarn[8];	/* Element 0: set to 'W' if at least one other is 'W'	*/	/* 1: if 'W' at least one character string		*/	/* value was truncated when it was			*/	/* stored into a host variable.				*/	/*	 * 2: if 'W' a (hopefully) non-fatal notice occurred	 */	/* 3: empty */	/* 4: empty						*/	/* 5: empty						*/	/* 6: empty						*/	/* 7: empty						*/	char		sqlstate[5];};struct sqlca_t *ECPGget_sqlca(void);#ifndef POSTGRES_ECPG_INTERNAL#define sqlca (*ECPGget_sqlca())#endif#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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