A while ago we agreed to use DB names like the JDBC standard:

<protocol>:postgresql:\\<server>[:port]\dbname[?<option>]

Before I start working on libpq I would like to know which protocols it
should accept. Is there a norm for this?

Suggestions: sql, esql, pq, ecpg ...

Michael

-- 
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

Mon, 25 May 1998 16:22:16 +0200 (CEST)
Michael Meskes <meskes@topsystem.de>
Connect string again
> A while ago we agreed to use DB names like the JDBC standard:
> 
> <protocol>:postgresql:\\<server>[:port]\dbname[?<option>]
> 
> Before I start working on libpq I would like to know which protocols it
> should accept. Is there a norm for this?
> 
> Suggestions: sql, esql, pq, ecpg ...

Hey, what's with the backslashes?? Didn't know a non-M$ system even had
'em on the keyboard :)

Seriously, is that a typo?

                        - Tom

Tue, 26 May 1998 14:57:56 +0000
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Re: [HACKERS] Connect string again
On Mon, 25 May 1998, Michael Meskes wrote:

> A while ago we agreed to use DB names like the JDBC standard:
> 
> <protocol>:postgresql:\\<server>[:port]\dbname[?<option>]
> 
> Before I start working on libpq I would like to know which protocols it
> should accept. Is there a norm for this?
> 
> Suggestions: sql, esql, pq, ecpg ...

pq seems to be a little too short to me.

I'd have thought sql, or libpq. ecpg could be used as well for clients
that use ecpg.

While thinking about this, an alternative could be the network protocol
being used, tcp or unix (although the server part of the url would be
ignored for this one).

-- 
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


Tue, 26 May 1998 18:56:39 +0100 (BST)
Peter T Mount <psqlhack@retep.org.uk>
Re: [HACKERS] Connect string again
Peter T Mount writes:
> > Suggestions: sql, esql, pq, ecpg ...
> 
> pq seems to be a little too short to me.
> 
> I'd have thought sql, or libpq. ecpg could be used as well for clients
> that use ecpg.

How about adding things like proc since we are able to parse most of the
Oracle stuff?

> While thinking about this, an alternative could be the network protocol
> being used, tcp or unix (although the server part of the url would be
> ignored for this one).

That one makes even more sense IMO. If it's unix, the server only can be the
local host. 

Michael

-- 
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

Wed, 27 May 1998 09:50:32 +0200 (CEST)
Michael Meskes <meskes@topsystem.de>
Re: [HACKERS] Connect string again