diff options
Diffstat (limited to 'feature-tests/connectdb-params.c')
-rw-r--r-- | feature-tests/connectdb-params.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/feature-tests/connectdb-params.c b/feature-tests/connectdb-params.c new file mode 100644 index 0000000..d79a2e0 --- /dev/null +++ b/feature-tests/connectdb-params.c @@ -0,0 +1,7 @@ +#include <libpq-fe.h> +int main(void) +{ + const char *kw[] = {"a", NULL}; + const char *val[] = {"b", NULL}; + return PQconnectdbParams(kw, val, 0) != NULL; +} |