Re: Thoughts on pg_hba.conf rejection

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Thoughts on pg_hba.conf rejection
Дата
Msg-id 20100419210407.GM6733@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Thoughts on pg_hba.conf rejection  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Thoughts on pg_hba.conf rejection
Re: Thoughts on pg_hba.conf rejection
Список pgsql-hackers
Robert Haas escribió:
> On Mon, Apr 19, 2010 at 4:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> > The only way I can think of to improve that without going back to flat
> > files would be to develop a way for backends to switch databases after
> > initial startup, so that auth could be done in a predetermined database
> > (say, "postgres") before switching to the requested DB.  This has enough
> > potential gotchas, in regards to catalog caching for instance, that I'm
> > not eager to go there.
> 
> Would it be possible to set up a skeleton environment where we can
> access shared catalogs only and then decide on which database we're
> using later?

Eh?  We already do that ... In fact the autovac launcher is always
connected to shared catalogs, without being connected to any one
database in particular (cf. get_database_list)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Thoughts on pg_hba.conf rejection
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Thoughts on pg_hba.conf rejection