Thread

  1. Connect string again

    Michael Meskes <meskes@topsystem.de> — 1998-05-25T14:22:16Z

    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
    
    
  2. Re: [HACKERS] Connect string again

    Thomas Lockhart <lockhart@alumni.caltech.edu> — 1998-05-26T14:57:56Z

    > 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
    
    
  3. Re: [HACKERS] Connect string again

    Peter T Mount <psqlhack@retep.org.uk> — 1998-05-26T17:56:39Z

    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
    
    
    
  4. Re: [HACKERS] Connect string again

    Michael Meskes <meskes@topsystem.de> — 1998-05-27T07:50:32Z

    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