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
12ceb111
Commit
12ceb111
authored
Mar 27, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ODBC source code cleanup. Mostly alignment of #define constants.
parent
ff713018
Changes
44
Show whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
1070 additions
and
1082 deletions
+1070
-1082
src/interfaces/odbc/bind.c
src/interfaces/odbc/bind.c
+0
-1
src/interfaces/odbc/bind.h
src/interfaces/odbc/bind.h
+0
-1
src/interfaces/odbc/columninfo.c
src/interfaces/odbc/columninfo.c
+0
-1
src/interfaces/odbc/columninfo.h
src/interfaces/odbc/columninfo.h
+0
-2
src/interfaces/odbc/connection.c
src/interfaces/odbc/connection.c
+0
-1
src/interfaces/odbc/connection.h
src/interfaces/odbc/connection.h
+50
-51
src/interfaces/odbc/convert.c
src/interfaces/odbc/convert.c
+0
-1
src/interfaces/odbc/convert.h
src/interfaces/odbc/convert.h
+6
-7
src/interfaces/odbc/dlg_specific.c
src/interfaces/odbc/dlg_specific.c
+0
-1
src/interfaces/odbc/dlg_specific.h
src/interfaces/odbc/dlg_specific.h
+63
-56
src/interfaces/odbc/drvconn.c
src/interfaces/odbc/drvconn.c
+0
-1
src/interfaces/odbc/environ.c
src/interfaces/odbc/environ.c
+0
-1
src/interfaces/odbc/environ.h
src/interfaces/odbc/environ.h
+0
-1
src/interfaces/odbc/execute.c
src/interfaces/odbc/execute.c
+0
-1
src/interfaces/odbc/gpps.c
src/interfaces/odbc/gpps.c
+18
-11
src/interfaces/odbc/gpps.h
src/interfaces/odbc/gpps.h
+3
-2
src/interfaces/odbc/info.c
src/interfaces/odbc/info.c
+0
-1
src/interfaces/odbc/iodbc.h
src/interfaces/odbc/iodbc.h
+22
-22
src/interfaces/odbc/isql.h
src/interfaces/odbc/isql.h
+77
-75
src/interfaces/odbc/isqlext.h
src/interfaces/odbc/isqlext.h
+644
-641
src/interfaces/odbc/lobj.c
src/interfaces/odbc/lobj.c
+0
-1
src/interfaces/odbc/lobj.h
src/interfaces/odbc/lobj.h
+11
-12
src/interfaces/odbc/misc.c
src/interfaces/odbc/misc.c
+0
-1
src/interfaces/odbc/misc.h
src/interfaces/odbc/misc.h
+16
-17
src/interfaces/odbc/multibyte.c
src/interfaces/odbc/multibyte.c
+1
-0
src/interfaces/odbc/multibyte.h
src/interfaces/odbc/multibyte.h
+22
-23
src/interfaces/odbc/options.c
src/interfaces/odbc/options.c
+0
-1
src/interfaces/odbc/parse.c
src/interfaces/odbc/parse.c
+0
-1
src/interfaces/odbc/pgtypes.c
src/interfaces/odbc/pgtypes.c
+0
-1
src/interfaces/odbc/pgtypes.h
src/interfaces/odbc/pgtypes.h
+44
-45
src/interfaces/odbc/psqlodbc.c
src/interfaces/odbc/psqlodbc.c
+0
-1
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/psqlodbc.h
+35
-33
src/interfaces/odbc/qresult.c
src/interfaces/odbc/qresult.c
+0
-1
src/interfaces/odbc/qresult.h
src/interfaces/odbc/qresult.h
+13
-14
src/interfaces/odbc/results.c
src/interfaces/odbc/results.c
+0
-1
src/interfaces/odbc/setup.c
src/interfaces/odbc/setup.c
+1
-2
src/interfaces/odbc/socket.c
src/interfaces/odbc/socket.c
+0
-1
src/interfaces/odbc/socket.h
src/interfaces/odbc/socket.h
+10
-11
src/interfaces/odbc/statement.c
src/interfaces/odbc/statement.c
+0
-1
src/interfaces/odbc/statement.h
src/interfaces/odbc/statement.h
+34
-33
src/interfaces/odbc/tuple.c
src/interfaces/odbc/tuple.c
+0
-1
src/interfaces/odbc/tuple.h
src/interfaces/odbc/tuple.h
+0
-1
src/interfaces/odbc/tuplelist.c
src/interfaces/odbc/tuplelist.c
+0
-1
src/interfaces/odbc/tuplelist.h
src/interfaces/odbc/tuplelist.h
+0
-1
No files found.
src/interfaces/odbc/bind.c
View file @
12ceb111
/* Module: bind.c
/* Module: bind.c
*
*
* Description: This module contains routines related to binding
* Description: This module contains routines related to binding
...
...
src/interfaces/odbc/bind.h
View file @
12ceb111
/* File: bind.h
/* File: bind.h
*
*
* Description: See "bind.c"
* Description: See "bind.c"
...
...
src/interfaces/odbc/columninfo.c
View file @
12ceb111
/* Module: columninfo.c
/* Module: columninfo.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/columninfo.h
View file @
12ceb111
/* File: columninfo.h
/* File: columninfo.h
*
*
* Description: See "columninfo.c"
* Description: See "columninfo.c"
...
@@ -40,5 +39,4 @@ void CI_set_num_fields(ColumnInfoClass *self, int new_num_fields);
...
@@ -40,5 +39,4 @@ void CI_set_num_fields(ColumnInfoClass *self, int new_num_fields);
void
CI_set_field_info
(
ColumnInfoClass
*
self
,
int
field_num
,
char
*
new_name
,
void
CI_set_field_info
(
ColumnInfoClass
*
self
,
int
field_num
,
char
*
new_name
,
Oid
new_adtid
,
Int2
new_adtsize
,
Int4
atttypmod
);
Oid
new_adtid
,
Int2
new_adtsize
,
Int4
atttypmod
);
#endif
#endif
src/interfaces/odbc/connection.c
View file @
12ceb111
/* Module: connection.c
/* Module: connection.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/connection.h
View file @
12ceb111
/* File: connection.h
/* File: connection.h
*
*
* Description: See "connection.c"
* Description: See "connection.c"
...
...
src/interfaces/odbc/convert.c
View file @
12ceb111
/* Module: convert.c
/* Module: convert.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/convert.h
View file @
12ceb111
/* File: convert.h
/* File: convert.h
*
*
* Description: See "convert.c"
* Description: See "convert.c"
...
...
src/interfaces/odbc/dlg_specific.c
View file @
12ceb111
/* Module: dlg_specific.c
/* Module: dlg_specific.c
*
*
* Description: This module contains any specific code for handling
* Description: This module contains any specific code for handling
...
...
src/interfaces/odbc/dlg_specific.h
View file @
12ceb111
/* File: dlg_specific.h
/* File: dlg_specific.h
*
*
* Description: See "dlg_specific.c"
* Description: See "dlg_specific.c"
...
@@ -38,18 +37,23 @@
...
@@ -38,18 +37,23 @@
#define ODBCINST_INI "/etc/odbcinst.ini"
#define ODBCINST_INI "/etc/odbcinst.ini"
#endif
#endif
#else
/* WIN32 */
#else
/* WIN32 */
#define ODBC_INI "ODBC.INI"
/* ODBC initialization file */
#define ODBC_INI "ODBC.INI"
/* ODBC initialization
#define ODBCINST_INI "ODBCINST.INI"
/* ODBC Installation file */
* file */
#define ODBCINST_INI "ODBCINST.INI"
/* ODBC Installation
* file */
#endif
/* WIN32 */
#endif
/* WIN32 */
#define INI_DSN DBMS_NAME
/* Name of default Datasource in
#define INI_DSN DBMS_NAME
/* Name of default
* ini file (not used?) */
* Datasource in ini
#define INI_KDESC "Description"
/* Data source description */
* file (not used?) */
#define INI_SERVER "Servername"
/* Name of Server running the
#define INI_KDESC "Description"
/* Data source
* Postgres service */
* description */
#define INI_PORT "Port"
/* Port on which the Postmaster is
#define INI_SERVER "Servername"
/* Name of Server
* listening */
* running the Postgres
* service */
#define INI_PORT "Port"
/* Port on which the
* Postmaster is listening */
#define INI_DATABASE "Database"
/* Database Name */
#define INI_DATABASE "Database"
/* Database Name */
#define INI_USER "Username"
/* Default User Name */
#define INI_USER "Username"
/* Default User Name */
#define INI_PASSWORD "Password"
/* Default Password */
#define INI_PASSWORD "Password"
/* Default Password */
...
@@ -57,15 +61,18 @@
...
@@ -57,15 +61,18 @@
#define INI_FETCH "Fetch"
/* Fetch Max Count */
#define INI_FETCH "Fetch"
/* Fetch Max Count */
#define INI_SOCKET "Socket"
/* Socket buffer size */
#define INI_SOCKET "Socket"
/* Socket buffer size */
#define INI_READONLY "ReadOnly"
/* Database is read only */
#define INI_READONLY "ReadOnly"
/* Database is read only */
#define INI_COMMLOG
"CommLog"
/* Communication to backend
#define INI_COMMLOG
"CommLog"
/* Communication to
*
logging */
* backend
logging */
#define INI_PROTOCOL "Protocol"
/* What protocol (6.2) */
#define INI_PROTOCOL "Protocol"
/* What protocol (6.2) */
#define INI_OPTIMIZER "Optimizer"
/* Use backend genetic optimizer */
#define INI_OPTIMIZER "Optimizer"
/* Use backend genetic
#define INI_KSQO "Ksqo"
/* Keyset query optimization */
* optimizer */
#define INI_KSQO "Ksqo"
/* Keyset query
* optimization */
#define INI_CONNSETTINGS "ConnSettings"
/* Anything to send to
#define INI_CONNSETTINGS "ConnSettings"
/* Anything to send to
* backend on successful
* backend on successful
* connection */
* connection */
#define INI_UNIQUEINDEX "UniqueIndex"
/* Recognize unique indexes */
#define INI_UNIQUEINDEX "UniqueIndex"
/* Recognize unique
* indexes */
#define INI_UNKNOWNSIZES "UnknownSizes"
/* How to handle unknown
#define INI_UNKNOWNSIZES "UnknownSizes"
/* How to handle unknown
* result set sizes */
* result set sizes */
...
...
src/interfaces/odbc/drvconn.c
View file @
12ceb111
/* Module: drvconn.c
/* Module: drvconn.c
*
*
* Description: This module contains only routines related to
* Description: This module contains only routines related to
...
...
src/interfaces/odbc/environ.c
View file @
12ceb111
/* Module: environ.c
/* Module: environ.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/environ.h
View file @
12ceb111
/* File: environ.h
/* File: environ.h
*
*
* Description: See "environ.c"
* Description: See "environ.c"
...
...
src/interfaces/odbc/execute.c
View file @
12ceb111
/* Module: execute.c
/* Module: execute.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/gpps.c
View file @
12ceb111
/* GetPrivateProfileString() -- approximate implementation of */
/* GetPrivateProfileString()
/* Windows NT System Services version of GetPrivateProfileString() */
*
/* probably doesn't handle the NULL key for section name or value key */
* approximate implementation of
/* correctly also, doesn't provide Microsoft backwards compatability */
* Windows NT System Services version of GetPrivateProfileString()
/* wrt TAB characters in the value string -- Microsoft terminates value */
* probably doesn't handle the NULL key for section name or value key
/* at the first TAB, but I couldn't discover what the behavior should */
* correctly also, doesn't provide Microsoft backwards compatability
/* be regarding TABS in quoted strings so, I treat tabs like any other */
* wrt TAB characters in the value string
/* characters -- NO comments following value string separated by a TAB */
*
/* are allowed (that is an anachronism anyway) */
* Microsoft terminates value
/* Added code to search for ODBC_INI file in users home directory on */
* at the first TAB, but I couldn't discover what the behavior should
/* Unix */
* be regarding TABS in quoted strings so, I treat tabs like any other
* characters
*
* NO comments following value string separated by a TAB
* are allowed (that is an anachronism anyway)
* Added code to search for ODBC_INI file in users home directory on
* Unix
*/
#ifndef WIN32
#ifndef WIN32
...
...
src/interfaces/odbc/gpps.h
View file @
12ceb111
/* GetPrivateProfileString */
/* GetPrivateProfileString
/* for UNIX use */
* for UNIX use
*/
#ifndef GPPS_H
#ifndef GPPS_H
#define GPPS_H
#define GPPS_H
...
...
src/interfaces/odbc/info.c
View file @
12ceb111
/* Module: info.c
/* Module: info.c
*
*
* Description: This module contains routines related to
* Description: This module contains routines related to
...
...
src/interfaces/odbc/iodbc.h
View file @
12ceb111
src/interfaces/odbc/isql.h
View file @
12ceb111
/* Modified isql.h file from iodbc. This file should be placed in the
/*
* include path to be used to create ODBC compliant applications.
* Modified isql.h file from iodbc. This file should be placed in the
*/
* include path to be used to create ODBC compliant applications.
*/
#ifndef _INTRINSIC_SQL_H
#ifndef _INTRINSIC_SQL_H
#define _INTRINSIC_SQL_H
#define _INTRINSIC_SQL_H
...
...
src/interfaces/odbc/isqlext.h
View file @
12ceb111
/* This file has been modified from the original isqlext.h to add the
/*
* missing function prototypes and appropriate #defines. It is designed
* This file has been modified from the original isqlext.h to add the
* to be a drop in replacement for isqlext.h from iodbc.
* missing function prototypes and appropriate #defines. It is designed
*/
* to be a drop in replacement for isqlext.h from iodbc.
*/
#ifndef _INTRINSIC_SQLEXT_H
#ifndef _INTRINSIC_SQLEXT_H
#define _INTRINSIC_SQLEXT_H
#define _INTRINSIC_SQLEXT_H
...
@@ -1275,7 +1277,8 @@ typedef struct tagSQL_INTERVAL_STRUCT
...
@@ -1275,7 +1277,8 @@ typedef struct tagSQL_INTERVAL_STRUCT
*/
*/
#define SQL_UB_OFF 0UL
#define SQL_UB_OFF 0UL
#define SQL_UB_ON 1UL
#define SQL_UB_ON 1UL
#define SQL_UB_FIXED SQL_UB_ON
/* Deprecated in ODBC 3.0 */
#define SQL_UB_FIXED SQL_UB_ON
/* Deprecated in ODBC
* 3.0 */
#define SQL_UB_VARIABLE 2UL
/* Added in ODBC 3.0 */
#define SQL_UB_VARIABLE 2UL
/* Added in ODBC 3.0 */
#define SQL_UB_DEFAULT SQL_UB_OFF
#define SQL_UB_DEFAULT SQL_UB_OFF
...
...
src/interfaces/odbc/lobj.c
View file @
12ceb111
/* Module: lobj.c
/* Module: lobj.c
*
*
* Description: This module contains routines related to manipulating
* Description: This module contains routines related to manipulating
...
...
src/interfaces/odbc/lobj.h
View file @
12ceb111
/* File: lobj.h
/* File: lobj.h
*
*
* Description: See "lobj.c"
* Description: See "lobj.c"
...
...
src/interfaces/odbc/misc.c
View file @
12ceb111
/* Module: misc.c
/* Module: misc.c
*
*
* Description: This module contains miscellaneous routines
* Description: This module contains miscellaneous routines
...
...
src/interfaces/odbc/misc.h
View file @
12ceb111
/* File: misc.h
/* File: misc.h
*
*
* Description: See "misc.c"
* Description: See "misc.c"
...
@@ -98,8 +97,8 @@ char *my_strcat(char *buf, char *fmt, char *s, int len);
...
@@ -98,8 +97,8 @@ char *my_strcat(char *buf, char *fmt, char *s, int len);
/* defines for return value of my_strcpy */
/* defines for return value of my_strcpy */
#define STRCPY_SUCCESS 1
#define STRCPY_SUCCESS 1
#define STRCPY_FAIL 0
#define STRCPY_FAIL 0
#define STRCPY_TRUNCATED
-1
#define STRCPY_TRUNCATED
(-1)
#define STRCPY_NULL
-2
#define STRCPY_NULL
(-2)
int
my_strcpy
(
char
*
dst
,
int
dst_len
,
char
*
src
,
int
src_len
);
int
my_strcpy
(
char
*
dst
,
int
dst_len
,
char
*
src
,
int
src_len
);
...
...
src/interfaces/odbc/multibyte.c
View file @
12ceb111
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
* Create 2001-03-03 Eiji Tokuya
* Create 2001-03-03 Eiji Tokuya
*
*
*/
*/
#include <string.h>
#include <string.h>
#include "multibyte.h"
#include "multibyte.h"
...
...
src/interfaces/odbc/multibyte.h
View file @
12ceb111
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
*
*
* Multibyte library header ( psqlODBC Only )
* Multibyte library header ( psqlODBC Only )
*
*
*
*/
*/
/* PostgreSQL client encoding */
/* PostgreSQL client encoding */
...
...
src/interfaces/odbc/options.c
View file @
12ceb111
/* Module: options.c
/* Module: options.c
*
*
* Description: This module contains routines for getting/setting
* Description: This module contains routines for getting/setting
...
...
src/interfaces/odbc/parse.c
View file @
12ceb111
/* Module: parse.c
/* Module: parse.c
*
*
* Description: This module contains routines related to parsing SQL statements.
* Description: This module contains routines related to parsing SQL statements.
...
...
src/interfaces/odbc/pgtypes.c
View file @
12ceb111
/* Module: pgtypes.c
/* Module: pgtypes.c
*
*
* Description: This module contains routines for getting information
* Description: This module contains routines for getting information
...
...
src/interfaces/odbc/pgtypes.h
View file @
12ceb111
/* File: pgtypes.h
/* File: pgtypes.h
*
*
* Description: See "pgtypes.c"
* Description: See "pgtypes.c"
...
@@ -17,7 +16,7 @@
...
@@ -17,7 +16,7 @@
#if 0
#if 0
#define PG_TYPE_LO
????
/* waiting for permanent type */
#define PG_TYPE_LO
????
/* waiting for permanent type */
#endif
#endif
#define PG_TYPE_BOOL 16
#define PG_TYPE_BOOL 16
...
@@ -67,7 +66,7 @@
...
@@ -67,7 +66,7 @@
extern
Int2
sqlTypes
[];
extern
Int2
sqlTypes
[];
/* Defines for pgtype_precision */
/* Defines for pgtype_precision */
#define PG_STATIC
-1
#define PG_STATIC
(-1)
Int4
sqltype_to_pgtype
(
Int2
fSqlType
);
Int4
sqltype_to_pgtype
(
Int2
fSqlType
);
...
...
src/interfaces/odbc/psqlodbc.c
View file @
12ceb111
/* Module: psqlodbc.c
/* Module: psqlodbc.c
*
*
* Description: This module contains the main entry point (DllMain) for the library.
* Description: This module contains the main entry point (DllMain) for the library.
...
...
src/interfaces/odbc/psqlodbc.h
View file @
12ceb111
/* File: psqlodbc.h
/* File: psqlodbc.h
*
*
* Description: This file contains defines and declarations that are related to
* Description: This file contains defines and declarations that are related to
...
@@ -6,7 +5,8 @@
...
@@ -6,7 +5,8 @@
*
*
* Comments: See "notice.txt" for copyright and license information.
* Comments: See "notice.txt" for copyright and license information.
*
*
* $Id: psqlodbc.h,v 1.40 2001/03/22 04:01:35 momjian Exp $
* $Id: psqlodbc.h,v 1.41 2001/03/27 04:00:54 momjian Exp $
*
*/
*/
#ifndef __PSQLODBC_H__
#ifndef __PSQLODBC_H__
...
@@ -91,18 +91,19 @@ typedef UInt4 Oid;
...
@@ -91,18 +91,19 @@ typedef UInt4 Oid;
#define MAX_KEYPARTS 20
#define MAX_KEYPARTS 20
#define MAX_KEYLEN 512
/* max key of the form
#define MAX_KEYLEN 512
/* max key of the form
* "date+outlet+invoice" */
* "date+outlet+invoice" */
#define MAX_ROW_SIZE 0
/* Unlimited rowsize with the Tuple
#define MAX_ROW_SIZE 0
/* Unlimited rowsize with the
* Toaster */
* Tuple Toaster */
#define MAX_STATEMENT_LEN 0
/* Unlimited statement size with 7.0 */
#define MAX_STATEMENT_LEN 0
/* Unlimited statement size with
* 7.0 */
/* Previously, numerous query strings were defined of length MAX_STATEMENT_LEN */
/* Previously, numerous query strings were defined of length MAX_STATEMENT_LEN */
/* Now that's 0, lets use this instead. DJP 24-1-2001 */
/* Now that's 0, lets use this instead. DJP 24-1-2001 */
#define STD_STATEMENT_LEN MAX_MESSAGE_LEN
#define STD_STATEMENT_LEN MAX_MESSAGE_LEN
#define PG62
"6.2"
/* "Protocol" key setting to force
#define PG62
"6.2"
/* "Protocol" key setting
*
Postgres 6.2 */
* to force
Postgres 6.2 */
#define PG63
"6.3"
/* "Protocol" key setting to force
#define PG63
"6.3"
/* "Protocol" key setting
*
postgres 6.3 */
* to force
postgres 6.3 */
#define PG64 "6.4"
#define PG64 "6.4"
typedef
struct
ConnectionClass_
ConnectionClass
;
typedef
struct
ConnectionClass_
ConnectionClass
;
...
@@ -173,15 +174,16 @@ typedef struct QueryInfo_
...
@@ -173,15 +174,16 @@ typedef struct QueryInfo_
}
QueryInfo
;
}
QueryInfo
;
#define PG_TYPE_LO
-999
/* hack until permanent type
#define PG_TYPE_LO
(-999)
/* hack until permanent
*
available */
* type
available */
#define PG_TYPE_LO_NAME "lo"
#define PG_TYPE_LO_NAME "lo"
#define OID_ATTNUM
-2
/* the attnum in pg_index of the
#define OID_ATTNUM
(-2)
/* the attnum in pg_index
*
oid */
* of the
oid */
/* sizes */
/* sizes */
#define TEXT_FIELD_SIZE 8190
/* size of text fields (not
#define TEXT_FIELD_SIZE 8190
/* size of text fields
* including null term) */
* (not including null
* term) */
#define NAME_FIELD_SIZE 32
/* size of name fields */
#define NAME_FIELD_SIZE 32
/* size of name fields */
#define MAX_VARCHAR_SIZE 254
/* maximum size of a varchar (not
#define MAX_VARCHAR_SIZE 254
/* maximum size of a varchar (not
* including null term) */
* including null term) */
...
...
src/interfaces/odbc/qresult.c
View file @
12ceb111
/* Module: qresult.c
/* Module: qresult.c
*
*
* Description: This module contains functions related to
* Description: This module contains functions related to
...
...
src/interfaces/odbc/qresult.h
View file @
12ceb111
/* File: qresult.h
/* File: qresult.h
*
*
* Description: See "qresult.c"
* Description: See "qresult.c"
...
...
src/interfaces/odbc/results.c
View file @
12ceb111
/* Module: results.c
/* Module: results.c
*
*
* Description: This module contains functions related to
* Description: This module contains functions related to
...
...
src/interfaces/odbc/setup.c
View file @
12ceb111
/* Module: setup.c
/* Module: setup.c
*
*
* Description: This module contains the setup functions for
* Description: This module contains the setup functions for
...
@@ -11,7 +10,7 @@
...
@@ -11,7 +10,7 @@
*
*
* Comments: See "notice.txt" for copyright and license information.
* Comments: See "notice.txt" for copyright and license information.
*
*
*
************************************************************************************
/
*/
#include "psqlodbc.h"
#include "psqlodbc.h"
#include "connection.h"
#include "connection.h"
...
...
src/interfaces/odbc/socket.c
View file @
12ceb111
/* Module: socket.c
/* Module: socket.c
*
*
* Description: This module contains functions for low level socket
* Description: This module contains functions for low level socket
...
...
src/interfaces/odbc/socket.h
View file @
12ceb111
/* File: socket.h
/* File: socket.h
*
*
* Description: See "socket.c"
* Description: See "socket.c"
...
...
src/interfaces/odbc/statement.c
View file @
12ceb111
/* Module: statement.c
/* Module: statement.c
*
*
* Description: This module contains functions related to creating
* Description: This module contains functions related to creating
...
...
src/interfaces/odbc/statement.h
View file @
12ceb111
/* File: statement.h
/* File: statement.h
*
*
* Description: See "statement.c"
* Description: See "statement.c"
...
@@ -50,11 +49,13 @@ typedef enum
...
@@ -50,11 +49,13 @@ typedef enum
STMT_EXECUTING
/* statement execution is still going on */
STMT_EXECUTING
/* statement execution is still going on */
}
STMT_Status
;
}
STMT_Status
;
#define STMT_TRUNCATED -2
#define STMT_TRUNCATED (-2)
#define STMT_INFO_ONLY -1
/* not an error message, just a
#define STMT_INFO_ONLY (-1)
/* not an error message,
* notification to be returned by SQLError */
* just a notification
#define STMT_OK 0
/* will be interpreted as "no error
* to be returned by
* pending" */
* SQLError */
#define STMT_OK 0
/* will be interpreted
* as "no error pending" */
#define STMT_EXEC_ERROR 1
#define STMT_EXEC_ERROR 1
#define STMT_STATUS_ERROR 2
#define STMT_STATUS_ERROR 2
#define STMT_SEQUENCE_ERROR 3
#define STMT_SEQUENCE_ERROR 3
...
...
src/interfaces/odbc/tuple.c
View file @
12ceb111
/* Module: tuple.c
/* Module: tuple.c
*
*
* Description: This module contains functions for setting the data for individual
* Description: This module contains functions for setting the data for individual
...
...
src/interfaces/odbc/tuple.h
View file @
12ceb111
/* File: tuple.h
/* File: tuple.h
*
*
* Description: See "tuple.c"
* Description: See "tuple.c"
...
...
src/interfaces/odbc/tuplelist.c
View file @
12ceb111
/* Module: tuplelist.c
/* Module: tuplelist.c
*
*
* Description: This module contains functions for creating a manual result set
* Description: This module contains functions for creating a manual result set
...
...
src/interfaces/odbc/tuplelist.h
View file @
12ceb111
/* File: tuplelist.h
/* File: tuplelist.h
*
*
* Description: See "tuplelist.c"
* Description: See "tuplelist.c"
...
...
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