From: | Michael Meskes <meskes(at)topsystem(dot)de> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker) |
Subject: | connection names |
Date: | 1998-05-08 13:00:58 |
Message-ID: | 199805081300.PAA24256@gauss.topsystem.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Okay, I have changed ecpg to accept the following:
CONNECT TO connection_target opt_connection_name opt_user
CONNECT TO DEFAULT
CONNECT ora_user
with
connection_target being either 'dbname[(at)server][:port]' or
'{esql,ecpg,sql}:postgresql://server[:port][/dbname]'
opt_connection_name is empty so far
opt_user is 'USER ora_user' or empty
Finally ora_user is one of the following:
user_name
user_name '/' password
user_name SQL_IDENTIFIED BY user_name
This should allow us to accept the standard connect calls as well as the
Oracle ones. Is there any major db system that uses a different syntax? For
compatibility I'd like to add as much as possible.
I haven't patched the library yet. I will do so as soon as we agree on
adding both version to libpq.
Michael
--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-05-08 14:14:42 | Re: [HACKERS] compile problem in libpq |
Previous Message | Peter Mount | 1998-05-08 11:52:13 | RE: [HACKERS] Decicision needed for connect statement |