connection string - DNS

From: "Adam O'Toole" <adamnb1(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: connection string - DNS
Date: 2005-08-04 16:32:09
Message-ID: BAY102-F37A8622D5E299FF3B60585FBC40@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Hi there.
I am connecting to my Postgresql 7.4.7 sever with psql-odbc from my VB.NET
frontend. Right now I am using the Postgres server IP address in the odbc
connection string. My question, I want to use a DNS server, how will my
connection string change. Will I just specify the DNS address for the
SERVER= parameter in the connection string, or will I specify a new
parameter DNS=. Here is my connection string right now:

OdbcConnection.ConnectionString =
"Protocol=6.4;Debug=0;Parse=0;SERVER=10.4.1.179;DRIVER=PostgreSQL;
ConnSettings=;MaxLongVarcharSize=8190;MaxVarcharSize=254;Socket=4096;TrueIsMinus1=0;DATABASE=mediaRegistry;Optimizer=1;UID=****;PWD=****;

Thank you!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2005-08-04 16:35:56 Re: untrusted languages and non-global superusers?
Previous Message Tony Caduto 2005-08-04 16:31:24 Re: weirdness with a sql update

Browse pgsql-novice by date

  From Date Subject
Next Message Jaime Casanova 2005-08-04 18:07:21 Re: change varchar(10) to varchar()
Previous Message Adam O'Toole 2005-08-04 16:30:12 connection string - DNS