Re: TODO item pg_hba.conf

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TODO item pg_hba.conf
Дата
Msg-id 26524.1145556842@sss.pgh.pa.us
обсуждение исходный текст
Ответ на TODO item pg_hba.conf  ("Gevik Babakhani" <pgdev@xs4all.nl>)
Ответы Re: TODO item pg_hba.conf  (Gevik Babakhani <pgdev@xs4all.nl>)
Список pgsql-hackers
"Gevik Babakhani" <pgdev@xs4all.nl> writes:
> Would it be correct to state that: only the authentication
> is checked (username and password) when connecting to the
> server and not the any kind of privilege to access a database.

Well, that would be the typical usage, ie, people relying on CONNECT
privilege probably wouldn't put any database-specific conditions into
pg_hba.conf.  But we'd not take out any functionality that's there now.

I'm not sure if you realize it, but this should be an extremely small
patch.  In particular, if you think you need to change the parser then
you are already off on the wrong track.  The parser doesn't know
anything about specific privilege types (as of 8.1 anyway).  It'd be
worth your while to study how the existing privileges on databases
are handled, eg, exactly what places know about the TEMP privilege.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Unresolved Win32 bug reports
Следующее
От: David Wheeler
Дата:
Сообщение: Re: Suggestion: Which Binary?