mirror of
https://github.com/postgres/postgres.git
synced 2025-05-23 00:02:38 -04:00
More cleanups.
This commit is contained in:
parent
9c891acd52
commit
72f3b9fce9
@ -29,12 +29,12 @@
|
|||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
CONN_NOT_CONNECTED, /* Connection has not been established */
|
CONN_NOT_CONNECTED, /* Connection has not been established */
|
||||||
CONN_CONNECTED, /* Connection is up and has been
|
CONN_CONNECTED, /* Connection is up and has been
|
||||||
* established */
|
* established */
|
||||||
CONN_DOWN, /* Connection is broken */
|
CONN_DOWN, /* Connection is broken */
|
||||||
CONN_EXECUTING /* the connection is currently executing a
|
CONN_EXECUTING /* the connection is currently executing a
|
||||||
* statement */
|
* statement */
|
||||||
} CONN_Status;
|
} CONN_Status;
|
||||||
|
|
||||||
/* These errors have general sql error state */
|
/* These errors have general sql error state */
|
||||||
|
@ -30,11 +30,11 @@ typedef signed short RETCODE;
|
|||||||
#define SQL_MAX_DSN_LENGTH 32
|
#define SQL_MAX_DSN_LENGTH 32
|
||||||
|
|
||||||
/* return code */
|
/* return code */
|
||||||
#define SQL_INVALID_HANDLE (-2)
|
#define SQL_INVALID_HANDLE (-2)
|
||||||
#define SQL_ERROR (-1)
|
#define SQL_ERROR (-1)
|
||||||
#define SQL_SUCCESS 0
|
#define SQL_SUCCESS 0
|
||||||
#define SQL_SUCCESS_WITH_INFO 1
|
#define SQL_SUCCESS_WITH_INFO 1
|
||||||
#define SQL_NO_DATA_FOUND 100
|
#define SQL_NO_DATA_FOUND 100
|
||||||
|
|
||||||
/* standard SQL datatypes (agree with ANSI type numbering) */
|
/* standard SQL datatypes (agree with ANSI type numbering) */
|
||||||
#define SQL_CHAR 1
|
#define SQL_CHAR 1
|
||||||
|
@ -128,8 +128,8 @@
|
|||||||
|
|
||||||
#define SQL_API_SQLDRIVERS 71
|
#define SQL_API_SQLDRIVERS 71
|
||||||
#define SQL_API_SQLBINDPARAMETER 72
|
#define SQL_API_SQLBINDPARAMETER 72
|
||||||
#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
|
#define SQL_EXT_API_LAST SQL_API_SQLBINDPARAMETER
|
||||||
#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
|
#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST - SQL_EXT_API_START + 1)
|
||||||
|
|
||||||
#define SQL_API_ALL_FUNCTIONS 0
|
#define SQL_API_ALL_FUNCTIONS 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user