RE: DSN-less connection to Postgres-database - Mailing list pgsql-general

From Michael Ansley
Subject RE: DSN-less connection to Postgres-database
Date
Msg-id 7F124BC48D56D411812500D0B747251480F41D@FILESERVER002
Whole thread Raw
In response to DSN-less connection to Postgres-database  ("Kristoffer Hoffe Bergqvist" <hoffe@hoffe.com>)
List pgsql-general
You probably want to change that HOST= to SERVER=, don't add the port on the end of the hostname, rather use PORT=, and change the PASSWORD= to PWD=, and get rid of the superfluous semi-colon.
 
Let me know...
 
 
MikeA
 
-----Original Message-----
From: Kristoffer Hoffe Bergqvist [mailto:hoffe@hoffe.com]
Sent: 15 February 2001 15:07
To: pgsql-general@postgreSQL.org
Subject: [GENERAL] DSN-less connection to Postgres-database

 Hi all!

I'd like to set up a DNS-less connection from ASP to a PostgreSQL-server. What I'm looking for is a connectionstring looking something like this:

db.Open("driver=PostgreSQL};host=www.host.com:666;database=name;UID=me;Password=;pass")

But the one above (obviously, since I'm writing this mail) doesn't work. Please if anyone know how to solve this, drop a line.

 Thanks in advance!

  Cheers

   /Hoffe



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
Nick West - Global Infrastructure Manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: regular expression substittion function?
Next
From: Stephan Szabo
Date:
Subject: Re: ALTER TABLE speed (adding foreign keys)