Re: Use "samehost" by default in pg_hba.conf?
От | Tom Lane |
---|---|
Тема | Re: Use "samehost" by default in pg_hba.conf? |
Дата | |
Msg-id | 8079.1254366973@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Use "samehost" by default in pg_hba.conf? (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: Use "samehost" by default in pg_hba.conf?
|
Список | pgsql-hackers |
Stephen Frost <sfrost@snowman.net> writes: > I'm not sure if it out-ranks the advantages of the change for buildfarm > support, but the above change isn't actually without any disadvantage. > Specifically, not every auth mechanism that works with -h machine_name > works with -h localhost, but the first record in pg_hba which is matched > is used. I could have: > host all all 127.0.0.1/32 @authmethod@ > host all all A.B.C.D/32 @authmethod2@ If you've got any such thing, you've got a *nondefault* pg_hba.conf file. Or are you opining that people who are smart enough to set that up are too stupid to replace a single "samehost" entry with the two entries they need? regards, tom lane
В списке pgsql-hackers по дате отправления: