summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue2014-02-23 04:33:32 +0000
committerHiroshi Inoue2014-02-23 06:37:52 +0000
commit01d261ca0aa4db089de274be35a4acdc9fd33764 (patch)
treed8939c238b00caa22d579165f2302f69e594994a
parentc3dfaee568f30f5aac23fb861bb26ff7e998ee6d (diff)
Currently PQConnectdbParams() not yet used anyway.
-rw-r--r--connection.c2
-rw-r--r--loadlib.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/connection.c b/connection.c
index 054f1c9..1d58164 100644
--- a/connection.c
+++ b/connection.c
@@ -4160,6 +4160,7 @@ inolog("sock=%p\n", sock);
}
}
+#ifdef NOT_USED /* currently not yet used */
if (FALSE && connect_with_param_available())
{
const char *opts[PROTOCOL3_OPTS_MAX], *vals[PROTOCOL3_OPTS_MAX];
@@ -4168,6 +4169,7 @@ inolog("sock=%p\n", sock);
pqconn = CALL_PQconnectdbParams(opts, vals, &libpqLoaded);
}
else
+#endif /* NOT_USED */
{
if (!(conninfo = protocol3_opts_build(self)))
{
diff --git a/loadlib.c b/loadlib.c
index b88eb71..c77d541 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -348,6 +348,7 @@ inolog("connect_withparam_available is set to false\n");
connect_withparam_available = 0;
}
#else
+#ifdef NOT_USED /* currently not yet used */
#ifdef HAVE_LIBLTDL
lt_dlhandle dlhandle = lt_dlopenext(libpqlib);
@@ -359,6 +360,7 @@ inolog("connect_withparam_available is set to false\n");
lt_dlclose(dlhandle);
}
#endif /* HAVE_LIBLTDL */
+#endif /* NOT_USED */
#endif /* _MSC_DELAY_LOAD_IMPORT */
}