token = lfirst(line_item);
if (strcmp(token, "local") == 0)
{
+#ifdef HAVE_UNIX_SOCKETS
parsedline->conntype = ctLocal;
+#else
+ ereport(LOG,
+ (errcode(ERRCODE_CONFIG_FILE_ERROR),
+ errmsg("local connections are not supported by this build"),
+ errcontext("line %d of configuration file \"%s\"",
+ line_num, HbaFileName)));
+ return false;
+#endif
}
else if (strcmp(token, "host") == 0
|| strcmp(token, "hostssl") == 0