Re: [HACKERS] Decicision needed for connect statement - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Decicision needed for connect statement
Date
Msg-id 3551AB91.467ACD57@alumni.caltech.edu
Whole thread Raw
In response to Decicision needed for connect statement  (Michael Meskes <meskes@topsystem.de>)
Responses Re: [HACKERS] Decicision needed for connect statement  (Michael Meskes <meskes@topsystem.de>)
List pgsql-hackers
> CONNECT TO <SQL-server> [AS <connection name>] [USER <user name>]
> How about this?
> <dbname>@<server>:<port>
> Each missing entry will be set to the default value:
> template1@localhost:5432.

Looks good, though perhaps the default db should be the user's name?

Is there any benefit to using a url-style spec?

  postgres://server:port/dbname

Very fashionable :)

                       - Tom

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [QUESTIONS] inheritance questions
Next
From: Michael Meskes
Date:
Subject: Re: [HACKERS] Decicision needed for connect statement