aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/misc.h
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-05-22 05:51:03 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-05-22 05:51:03 +0000
commit79420840ee4f56b8399d3f526bb45ce788198e2e (patch)
tree83027ac6beca92e86847cf9468d58e9385bcc6fc /src/interfaces/odbc/misc.h
parent6c6f395a8aca8a9525d62cbf46fbafd130bdb9e5 (diff)
downloadpostgresql-79420840ee4f56b8399d3f526bb45ce788198e2e.tar.gz
postgresql-79420840ee4f56b8399d3f526bb45ce788198e2e.zip
1) Support Keyset Driven driver cursors.
2) Supprt ARD precision/scale and SQL_C_NUEMRIC. 3) Minimal implementation of SQLGetDiagField(). 4) SQLRowCount() reports the result of SQLSetPos and SQLBulkOperation. 5) int8 -> SQL_NUMERIC for Microsoft Jet. 6) Support isolation level change. 7) ODBC3.0 SQLSTATE code. 8) Append mode log files.
Diffstat (limited to 'src/interfaces/odbc/misc.h')
-rw-r--r--src/interfaces/odbc/misc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/odbc/misc.h b/src/interfaces/odbc/misc.h
index fe946eebfa1..161920f9b2b 100644
--- a/src/interfaces/odbc/misc.h
+++ b/src/interfaces/odbc/misc.h
@@ -77,10 +77,12 @@ extern void qlog(char *fmt,...);
#define PG_BINARY O_BINARY
#define PG_BINARY_R "rb"
#define PG_BINARY_W "wb"
+#define PG_BINARY_A "ab"
#else
#define PG_BINARY 0
#define PG_BINARY_R "r"
#define PG_BINARY_W "w"
+#define PG_BINARY_A "a"
#endif
@@ -91,7 +93,8 @@ char *make_string(const char *s, int len, char *buf);
char *my_strcat(char *buf, const char *fmt, const char *s, int len);
char *schema_strcat(char *buf, const char *fmt, const char *s, int len,
const char *, int);
-#define GET_SCHEMA_NAME(nspname) (stricmp(nspname, "public") ? nspname : "")
+/* #define GET_SCHEMA_NAME(nspname) (stricmp(nspname, "public") ? nspname : "") */
+#define GET_SCHEMA_NAME(nspname) (nspname)
/* defines for return value of my_strcpy */
#define STRCPY_SUCCESS 1