Connect string again

Поиск
Список
Период
Сортировка
Искать

Connect string again

От:
Michael Meskes <meskes@topsystem.de>
Дата:
A while ago we agreed to use DB names like the JDBC standard:

:postgresql:\\[:port]\dbname[?

Re: [HACKERS] Connect string again

От:
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Дата:
> A while ago we agreed to use DB names like the JDBC standard:
> 
> :postgresql:\\[:port]\dbname[?

Re: [HACKERS] Connect string again

От:
Peter T Mount <psqlhack@retep.org.uk>
Дата:
On Mon, 25 May 1998, Michael Meskes wrote:

> A while ago we agreed to use DB names like the JDBC standard:
> 
> :postgresql:\\[:port]\dbname[?

Re: [HACKERS] Connect string again

От:
Michael Meskes <meskes@topsystem.de>
Дата:
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
FAQ