pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: nathan@khmere.com
Cc: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] ECPG and remote databases
Date: Wed, 5 Jan 2000 19:33:36 +0100
Message-ID: <20000105193336.B13149@fam-meskes.de> (raw)
In-Reply-To: <38737EB4.8D412106@khmere.com>
References: <38737EB4.8D412106@khmere.com>

On Wed, Jan 05, 2000 at 09:26:12AM -0800, nathan@khmere.com wrote:
> I  want to connect to a remote database as a  specific user. So the man
> page for ecpg says to do the following
> 
> EXEC SQL CONNECT   dbname[@server][:port]

exec sql connect TO <connection target>.

> But either way does not work, can someone please let me know the proper
> syntax  fo ecpg or how to do this within embedded SQL ?

I'm sorry, the man page you have is way outdated. But right now it's
difficult for me to just find the time to fix bugs.

You may look into the test files in the source tree.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!



view thread (2+ messages)

Message-ID: <20000105193336.B13149@fam-meskes.de>
Permalink:  ../20000105193336.B13149@fam-meskes.de/
Also on:    postgresql.org/message-id/20000105193336.B13149@fam-meskes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, nathan@khmere.com
  Subject: Re: [INTERFACES] ECPG and remote databases
  In-Reply-To: <20000105193336.B13149@fam-meskes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox