summaryrefslogtreecommitdiff
path: root/loadlib.h
diff options
context:
space:
mode:
authorHiroshi Inoue2010-08-21 06:29:20 +0000
committerHiroshi Inoue2010-08-21 06:29:20 +0000
commit6e45dcb08093d81f244ad6321cbd529d0a7efe61 (patch)
tree92695c16975b1ed7b273dd4a63e0f34755de8aa6 /loadlib.h
parent3cf4dedfbb435f653785a967e951956046f0a8cb (diff)
1.Introduce pgtype_attr_xxxx functions which take a typmod parameter as well as a type oid parameter as an extension of pgtype_xxxx functions so that SQLColumns and SQLDescribeCol(SQLColAttrinute) could use common functions.
2.Call PQconnectdbParams instead of PQconnectdb when it's available. 3.Make cursor open check at transaction end a little more effective. 4.Added code for SQL_INTERVAL support and refcursor support though they are disabled.
Diffstat (limited to 'loadlib.h')
-rw-r--r--loadlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/loadlib.h b/loadlib.h
index 3cfd710..a1b5455 100644
--- a/loadlib.h
+++ b/loadlib.h
@@ -26,8 +26,10 @@ extern "C" {
BOOL SSLLIB_check(void);
#ifndef NOT_USE_LIBPQ
void *CALL_PQconnectdb(const char *conninfo, BOOL *);
+void *CALL_PQconnectdbParams(const char *opts[], const char *vals[], BOOL *);
#endif /* NOT_USE_LIBPQ */
BOOL ssl_verify_available(void);
+BOOL connect_with_param_available(void);
#ifdef _HANDLE_ENLIST_IN_DTC_
RETCODE CALL_EnlistInDtc(ConnectionClass *conn, void * pTra, int method);
RETCODE CALL_DtcOnDisconnect(ConnectionClass *);