Re: postgres_fdw and connection management

Поиск
Список
Период
Сортировка
Искать
От
Sandro Santilli
Тема
Re: postgres_fdw and connection management
Дата
в 08:57:48
Msg-id
20140527085731.GC4926@localhost
Ответ на
Список
Дерево обсуждения
postgres_fdw and connection management Sandro Santilli <strk@keybit.net>
Re: postgres_fdw and connection management Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: postgres_fdw and connection management Sandro Santilli <strk@keybit.net>
Re: postgres_fdw and connection management Shigeru Hanada <shigeru.hanada@gmail.com>
Re: postgres_fdw and connection management Robert Haas <robertmhaas@gmail.com>
Re: postgres_fdw and connection management Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: postgres_fdw and connection management Sandro Santilli <strk@keybit.net>
On Tue, May 27, 2014 at 12:32:50AM -0300, Fabrízio de Royes Mello wrote:
> On Mon, May 26, 2014 at 11:47 PM, Shigeru Hanada 
> wrote:
> >
> > 2014-05-24 0:09 GMT+09:00 Sandro Santilli :
> > > Indeed I tried "DISCARD ALL" in hope it would have helped, so I find
> > > good your idea of allowing extensions to register an hook there.
> > >
> > > Still, I'd like the FDW handler itself to possibly be configured
> > > to disable the pool completely as a server-specific configuration.
> >
> > Connection management seems FDW-specific feature to me.  How about to
> > add FDW option, say pool_connection=true|false, to postgres_fdw which
> > allows per-server configuration?

Yes, that's what I had in mind.
I'll try something along those lines.

> Makes sense... but if we use "pool_connection=true" and want to close the
> opened connection. How can we do that?

Right, I still consider hooks on DISCARD a useful addition.

--strk;


В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
Сообщение: Re: Spreading full-page writes
От: Heikki Linnakangas
Дата:
Сообщение: Re: Spreading full-page writes
FAQ