Re: FDW connections

2021-01-22 Thread Steve Baldwin
Thanks guys. I realise it was an odd request. The scenario is I'm building a mechanism for an application to operate in limited capacity using a secondary database while the primary database is being upgraded. I'm using postgres_fdw to sync changes between the primary and secondary databases. The r

RE: FDW connections

2021-01-22 Thread Hou, Zhijie
> > If I have made a query on a foreign table (using postgres_fdw), it > > establishes a connection automatically. Is there any way to > > disconnect that fdw connection without disconnecting the session that > > instigated it? > > No. > > From PostgreSQL v14 on, there is the "idle_session_time

Re: FDW connections

2021-01-22 Thread Laurenz Albe
On Fri, 2021-01-22 at 16:03 +1100, Steve Baldwin wrote: > If I have made a query on a foreign table (using postgres_fdw), > it establishes a connection automatically. Is there any way to > disconnect that fdw connection without disconnecting the session > that instigated it? No. >From PostgreS

FDW connections

2021-01-21 Thread Steve Baldwin
Hi all, If I have made a query on a foreign table (using postgres_fdw), it establishes a connection automatically. Is there any way to disconnect that fdw connection without disconnecting the session that instigated it? Thanks, Steve