postgresql/contrib/postgres_fdw
Fujii Masao b1be3074ac postgres_fdw: Add option to control whether to keep connections open.
This commit adds a new option keep_connections that controls
whether postgres_fdw keeps the connections to the foreign server open
so that the subsequent queries can re-use them. This option can only be
specified for a foreign server. The default is on. If set to off,
all connections to the foreign server will be discarded
at the end of transaction. Closed connections will be re-established
when they are necessary by future queries using a foreign table.

This option is useful, for example, when users want to prevent
the connections from eating up the foreign servers connections
capacity.

Author: Bharath Rupireddy
Reviewed-by: Alexey Kondratov, Vignesh C, Fujii Masao
Discussion: https://postgr.es/m/CALj2ACVvrp5=AVp2PupEm+nAC8S4buqR3fJMmaCoc7ftT0aD2A@mail.gmail.com
2021-04-02 19:45:42 +09:00
..
expected postgres_fdw: Add option to control whether to keep connections open. 2021-04-02 19:45:42 +09:00
sql postgres_fdw: Add option to control whether to keep connections open. 2021-04-02 19:45:42 +09:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
connection.c postgres_fdw: Add option to control whether to keep connections open. 2021-04-02 19:45:42 +09:00
deparse.c Rework planning and execution of UPDATE and DELETE. 2021-03-31 11:52:37 -04:00
option.c postgres_fdw: Add option to control whether to keep connections open. 2021-04-02 19:45:42 +09:00
postgres_fdw--1.0--1.1.sql postgres_fdw: Add functions to discard cached connections. 2021-01-26 15:35:54 +09:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Silence compiler warning in non-assert builds. 2021-03-31 16:50:45 -04:00
postgres_fdw.control postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
postgres_fdw.h Add support for asynchronous execution. 2021-03-31 18:45:00 +09:00
shippable.c Replace remaining uses of "whitelist". 2021-01-05 14:00:16 +13:00