Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
72f3b9fc
Commit
72f3b9fc
authored
Feb 11, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleanups.
parent
9c891acd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
src/interfaces/odbc/connection.h
src/interfaces/odbc/connection.h
+6
-6
src/interfaces/odbc/isql.h
src/interfaces/odbc/isql.h
+5
-5
src/interfaces/odbc/isqlext.h
src/interfaces/odbc/isqlext.h
+2
-2
No files found.
src/interfaces/odbc/connection.h
View file @
72f3b9fc
...
@@ -29,12 +29,12 @@
...
@@ -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 */
...
...
src/interfaces/odbc/isql.h
View file @
72f3b9fc
...
@@ -30,11 +30,11 @@ typedef signed short RETCODE;
...
@@ -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
...
...
src/interfaces/odbc/isqlext.h
View file @
72f3b9fc
...
@@ -128,8 +128,8 @@
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment