21 main(
int argc,
char *argv[])
43 fprintf(stderr,
"libpq_uri_regress: cannot fetch default options\n");
53 for (opt =
opts, def = defs; opt->
keyword; ++opt, ++def)
57 if (def->
val == NULL || strcmp(opt->
val, def->
val) != 0)
70 (strcmp(opt->
keyword,
"hostaddr") == 0 ||
71 (strcmp(opt->
keyword,
"host") == 0 && *opt->
val !=
'/')))
int errmsg(const char *fmt,...)
PQconninfoOption * PQconninfoParse(const char *conninfo, char **errmsg)
PQconninfoOption * PQconndefaults(void)
int main(int argc, char *argv[])
static AmcheckOptions opts