diff options
Diffstat (limited to 'src/backend/libpq/hba.c')
-rw-r--r-- | src/backend/libpq/hba.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index deee05c1979..66f2156cded 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -973,17 +973,7 @@ parse_hba_line(TokenizedAuthLine *tok_line, int elevel) token = linitial(tokens); if (strcmp(token->string, "local") == 0) { -#ifdef HAVE_UNIX_SOCKETS parsedline->conntype = ctLocal; -#else - ereport(elevel, - (errcode(ERRCODE_CONFIG_FILE_ERROR), - errmsg("local connections are not supported by this build"), - errcontext("line %d of configuration file \"%s\"", - line_num, HbaFileName))); - *err_msg = "local connections are not supported by this build"; - return NULL; -#endif } else if (strcmp(token->string, "host") == 0 || strcmp(token->string, "hostssl") == 0 || |