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

From Kristoffer Hoffe Bergqvist
Subject DSN-less connection to Postgres-database
Date
Msg-id NDBBKBGHKENGEONFANGIOEDBDMAA.hoffe@hoffe.com
Whole thread Raw
In response to Bad book review  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general

 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Max query limit in 7.1? With TOAST?
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] TPCH questions