From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | nathan(at)khmere(dot)com |
Cc: | "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: [INTERFACES] ECPG and remote databases |
Date: | 2000-01-05 18:33:36 |
Message-ID: | 20000105193336.B13149@fam-meskes.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Wed, Jan 05, 2000 at 09:26:12AM -0800, nathan(at)khmere(dot)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[(at)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(at)Fam-Meskes(dot)De | Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Kane | 2000-01-06 07:46:52 | ECPG and sqlda |
Previous Message | Michael Meskes | 2000-01-05 18:30:59 | Re: [INTERFACES] ECPG and FETCH |