\i command in dblink - Mailing list pgsql-general

From AI Rumman
Subject \i command in dblink
Date
Msg-id BANLkTikBLxnYSLb0oH3PhnG4Q4aXML-9SA@mail.gmail.com
Whole thread Raw
List pgsql-general
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.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Anonymous record type and inner types.
Next
From: Olivier LEVESQUE
Date:
Subject: pg_upgrade does not translate tablespace location to new cluster