Re: postgres_fdw and connection management

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: postgres_fdw and connection management
Date: 2014-05-27 03:32:50
Message-ID: CAFcNs+qJ8Mho-iznEXxeyS58B6F8zi0hRb=RgfSgJWgp27ZqVA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 26, 2014 at 11:47 PM, Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>
wrote:
>
> 2014-05-24 0:09 GMT+09:00 Sandro Santilli <strk(at)keybit(dot)net>:
> > 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?
>

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

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rahila Syed 2014-05-27 03:57:04 Re: Compression of full-page-writes
Previous Message Robert Haas 2014-05-27 03:15:41 Re: Spreading full-page writes