Thread: \i command in dblink

\i command in dblink

From
AI Rumman
Date:
I have a file as follows:

\set counter 10
\set name_test 'abc'

This  file is used to set some psql client variables.

My problem is that, how I can call this file from dblink connection.
That is, I need to use \i in dblink connection.
Any idea please.