mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Include file alignment fixes.
This commit is contained in:
parent
cc818a83c0
commit
9c891acd52
@ -47,8 +47,8 @@
|
||||
#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_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 */
|
||||
@ -66,7 +66,8 @@
|
||||
#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 */
|
||||
|
||||
|
@ -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,
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* Comments: See "notice.txt" for copyright and license information.
|
||||
*
|
||||
* $Id: psqlodbc.h,v 1.35 2001/02/11 05:58:41 momjian Exp $
|
||||
* $Id: psqlodbc.h,v 1.36 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) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user