postgresql - Reuse persistent dblink connection -


We have a function that is often triggered and makes remote DB a query. If I am not wrong then the connection work is in the current call / session. Is it possible to make a global connection in a remote DB and reuse this connection on each connection call?

The person we are facing takes a query more than 1 to transfer only 3 records.

say:

until the connection has closed or continues The database session has expired.

Then this function is designed to be reused in calls. Just reuse it.

Comments

Popular posts from this blog

Delphi: missing interface declarations for UI Automation methods -

php - how to change mysql_result($res, 0, "url"); to mysqli -

android - How to attach an image from an app to gmail -