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
9c891acd
Commit
9c891acd
authored
Feb 11, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include file alignment fixes.
parent
cc818a83
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
497 additions
and
496 deletions
+497
-496
src/interfaces/odbc/columninfo.h
src/interfaces/odbc/columninfo.h
+2
-2
src/interfaces/odbc/connection.h
src/interfaces/odbc/connection.h
+29
-29
src/interfaces/odbc/dlg_specific.h
src/interfaces/odbc/dlg_specific.h
+30
-29
src/interfaces/odbc/gpps.h
src/interfaces/odbc/gpps.h
+16
-16
src/interfaces/odbc/iodbc.h
src/interfaces/odbc/iodbc.h
+2
-2
src/interfaces/odbc/isql.h
src/interfaces/odbc/isql.h
+53
-54
src/interfaces/odbc/isqlext.h
src/interfaces/odbc/isqlext.h
+319
-319
src/interfaces/odbc/misc.h
src/interfaces/odbc/misc.h
+8
-8
src/interfaces/odbc/pgtypes.h
src/interfaces/odbc/pgtypes.h
+7
-7
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/psqlodbc.h
+31
-30
No files found.
src/interfaces/odbc/columninfo.h
View file @
9c891acd
src/interfaces/odbc/connection.h
View file @
9c891acd
src/interfaces/odbc/dlg_specific.h
View file @
9c891acd
...
...
@@ -47,9 +47,9 @@
#define INI_DSN DBMS_NAME
/* Name of default Datasource in
* ini file (not used?) */
#define INI_KDESC "Description"
/* Data source description */
#define INI_SERVER
"Servername"
/* Name of Server running the
*
Postgres service */
#define INI_PORT
"Port"
/* Port on which the Postmaster is
#define INI_SERVER
"Servername"
/* Name of Server running
* the
Postgres service */
#define INI_PORT
"Port"
/* Port on which the Postmaster is
* listening */
#define INI_DATABASE "Database"
/* Database Name */
#define INI_USER "Username"
/* Default User Name */
...
...
@@ -62,11 +62,12 @@
* logging */
#define INI_PROTOCOL "Protocol"
/* What protocol (6.2) */
#define INI_OPTIMIZER "Optimizer"
/* Use backend genetic optimizer */
#define INI_KSQO
"Ksqo"
/* Keyset query optimization */
#define INI_KSQO
"Ksqo"
/* Keyset query optimization */
#define INI_CONNSETTINGS "ConnSettings"
/* Anything to send to
* backend on successful
* connection */
#define INI_UNIQUEINDEX "UniqueIndex"
/* Recognize unique indexes */
#define INI_UNIQUEINDEX "UniqueIndex"
/* Recognize unique
* indexes */
#define INI_UNKNOWNSIZES "UnknownSizes"
/* How to handle unknown
* result set sizes */
...
...
src/interfaces/odbc/gpps.h
View file @
9c891acd
...
...
@@ -17,7 +17,7 @@ extern "C"
{
#endif
DWORD
GetPrivateProfileString
(
char
*
theSection
,
/* section name */
DWORD
GetPrivateProfileString
(
char
*
theSection
,
/* section name */
char
*
theKey
,
/* search key name */
char
*
theDefault
,
/* default value if not
* found */
...
...
@@ -28,7 +28,7 @@ DWORD GetPrivateProfileString(char *theSection, /* section name */
char
*
theIniFileName
);
/* pathname of ini file
* to search */
DWORD
WritePrivateProfileString
(
char
*
theSection
,
/* section name */
DWORD
WritePrivateProfileString
(
char
*
theSection
,
/* section name */
char
*
theKey
,
/* write key name */
char
*
theBuffer
,
/* input buffer */
char
*
theIniFileName
);
/* pathname of ini file
...
...
src/interfaces/odbc/iodbc.h
View file @
9c891acd
src/interfaces/odbc/isql.h
View file @
9c891acd
...
...
@@ -133,11 +133,9 @@ extern "C"
{
#endif
RETCODE
SQL_API
SQLAllocConnect
(
HENV
henv
,
HDBC
FAR
*
phdbc
);
RETCODE
SQL_API
SQLAllocConnect
(
HENV
henv
,
HDBC
FAR
*
phdbc
);
RETCODE
SQL_API
SQLAllocEnv
(
HENV
FAR
*
phenv
);
RETCODE
SQL_API
SQLAllocStmt
(
HDBC
hdbc
,
HSTMT
FAR
*
phstmt
);
RETCODE
SQL_API
SQLAllocStmt
(
HDBC
hdbc
,
HSTMT
FAR
*
phstmt
);
RETCODE
SQL_API
SQLBindCol
(
HSTMT
hstmt
,
UWORD
icol
,
SWORD
fCType
,
...
...
@@ -217,7 +215,8 @@ extern "C"
RETCODE
SQL_API
SQLTransact
(
HENV
henv
,
HDBC
hdbc
,
UWORD
fType
);
RETCODE
SQL_API
SQLSetParam
(
HSTMT
hstmt
,
UWORD
ipar
,
RETCODE
SQL_API
SQLSetParam
(
HSTMT
hstmt
,
UWORD
ipar
,
SWORD
fCType
,
SWORD
fSqlType
,
UDWORD
cbColDef
,
...
...
src/interfaces/odbc/isqlext.h
View file @
9c891acd
src/interfaces/odbc/misc.h
View file @
9c891acd
src/interfaces/odbc/pgtypes.h
View file @
9c891acd
src/interfaces/odbc/psqlodbc.h
View file @
9c891acd
...
...
@@ -6,7 +6,7 @@
*
* Comments: See "notice.txt" for copyright and license information.
*
* $Id: psqlodbc.h,v 1.3
5 2001/02/11 05:58:41
momjian Exp $
* $Id: psqlodbc.h,v 1.3
6 2001/02/11 13:53:42
momjian Exp $
*/
#ifndef __PSQLODBC_H__
...
...
@@ -55,16 +55,15 @@ typedef UInt4 Oid;
#define BLCKSZ 4096
#endif
#define MAX_MESSAGE_LEN 65536
/* This puts a limit on
* query size
but I don't */
#define MAX_MESSAGE_LEN 65536
/* This puts a limit on query size
*
but I don't */
/* see an easy way round this - DJP 24-1-2001 */
#define MAX_CONNECT_STRING 4096
#define ERROR_MSG_LENGTH 4096
#define FETCH_MAX 100
/* default number of rows to cache
* for declare/fetch */
#define TUPLE_MALLOC_INC 100
#define SOCK_BUFFER_SIZE 4096
/* default socket buffer
* size */
#define SOCK_BUFFER_SIZE 4096
/* default socket buffer size */
#define MAX_CONNECTIONS 128
/* conns per environment
* (arbitrary) */
#define MAX_FIELDS 512
...
...
@@ -91,9 +90,10 @@ typedef UInt4 Oid;
#define MAX_KEYPARTS 20
#define MAX_KEYLEN 512
/* max key of the form
* "date+outlet+invoice" */
#define MAX_ROW_SIZE 0
/* Unlimited rowsize with the Tuple
* Toaster */
#define MAX_STATEMENT_LEN 0
/* Unlimited statement size with 7.0 */
#define MAX_ROW_SIZE 0
/* Unlimited rowsize with the
* Tuple Toaster */
#define MAX_STATEMENT_LEN 0
/* Unlimited statement size with
* 7.0 */
/* Previously, numerous query strings were defined of length MAX_STATEMENT_LEN */
/* Now that's 0, lets use this instead. DJP 24-1-2001 */
...
...
@@ -172,15 +172,16 @@ typedef struct QueryInfo_
}
QueryInfo
;
#define PG_TYPE_LO
-999
/* hack until permanent type
*
available */
#define PG_TYPE_LO
-999
/* hack until permanent
* type
available */
#define PG_TYPE_LO_NAME "lo"
#define OID_ATTNUM -2
/* the attnum in pg_index of the
* oid */
/* sizes */
#define TEXT_FIELD_SIZE 8190
/* size of text fields (not
* including null term) */
#define TEXT_FIELD_SIZE 8190
/* size of text fields
* (not including null
* term) */
#define NAME_FIELD_SIZE 32
/* size of name fields */
#define MAX_VARCHAR_SIZE 254
/* maximum size of a varchar (not
* including null term) */
...
...
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