aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-02-04 09:13:15 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-02-04 09:13:15 +0200
commit302262d52111ce71dececfe18448792cee415a57 (patch)
tree1176956e82df21fb9968fea4954d91321f1aaecc /src
parent3a54f4a4944b849846c5a1494810ea06bd6601b7 (diff)
downloadpostgresql-302262d52111ce71dececfe18448792cee415a57.tar.gz
postgresql-302262d52111ce71dececfe18448792cee415a57.zip
Add dummy PQsslAttributes function for non-SSL builds.
All the other new SSL information functions had dummy versions in be-secure.c, but I missed PQsslAttributes(). Oops. Surprisingly, the linker did not complain about the missing function on most platforms represented in the buildfarm, even though it is exported, except for a few Windows systems.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-secure.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index b43f9fe155d..57c572bd096 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name)
{
return NULL;
}
+
+const char **
+PQsslAttributes(PGconn *conn)
+{
+ static const char *result[] = { NULL };
+
+ return result;
+}
#endif /* USE_SSL */