#include "postgres_fe.h"
#include "libpq-fe.h"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 21 of file libpq_uri_regress.c.
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)
static AmcheckOptions opts
References errmsg(), fprintf, _PQconninfoOption::keyword, opts, PQconndefaults(), PQconninfoParse(), printf, and _PQconninfoOption::val.