A better error message for reject option in pg_hba.conf - Mailing list pgsql-general

From Devrim GÜNDÜZ
Subject A better error message for reject option in pg_hba.conf
Date
Msg-id 1215758296.5130.0.camel@laptop.gunduz.org
Whole thread Raw
List pgsql-general
(This is a very minor thing, but still...)

Suppose we have this line in pg_hba.conf:

local all all reject

Now:

$ psql template1 -U postgres

psql: FATAL: no pg_hba.conf entry for host "[local]", user "postgres",
database "template1", SSL off

Actually there *is* an entry for local, user postgres and database
template1 -- but it is a reject. Should we improve this message and
return an error actually?

...or am I overlooking something?

Regards,
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment

pgsql-general by date:

Previous
From: Klint Gore
Date:
Subject: Top N within groups?
Next
From: "Michael Shulman"
Date:
Subject: view row-level locks