Re: [HACKERS] Decicision needed for connect statement

Phil Thompson <phil@river-bank.demon.co.uk>

From: Phil Thompson <phil@river-bank.demon.co.uk>
To: Michael Meskes <meskes@topsystem.de>
Cc: PostgreSQL Hacker <pgsql-hackers@postgreSQL.org>
Date: 1998-05-07T17:06:19Z
Lists: pgsql-hackers
Michael Meskes wrote:
> 
> The say the connect statement has to have the following form:
> 
> CONNECT TO <SQL-server> [AS <connection name>] [USER <user name>]
> 
> It is implementation dependant how to get database name, server name resp.
> number and port number from SQL-server. How will we do this?

I use <server>:<port> as <SQL-server> and a separate SET SCHEMA <name>
to set the database name as (I think) this is more consistent with
SQL/2.

Phil