Re: [HACKERS] Decicision needed for connect statement

Thomas Lockhart <lockhart@alumni.caltech.edu>

From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
To: Michael Meskes <meskes@topsystem.de>
Cc: PostgreSQL Hacker <pgsql-hackers@postgresql.org>
Date: 1998-05-07T12:39:45Z
Lists: 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