\i command in dblink

From: AI Rumman <rummandba(at)gmail(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: \i command in dblink
Date: 2011-07-01 14:34:58
Message-ID: BANLkTikBLxnYSLb0oH3PhnG4Q4aXML-9SA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-general by date

  From Date Subject
Next Message Daniele Varrazzo 2011-07-01 14:39:56 Re: Anonymous record type and inner types.
Previous Message Olivier LEVESQUE 2011-07-01 14:24:59 pg_upgrade does not translate tablespace location to new cluster