| From: | "Adam O'Toole" <adamnb1(at)hotmail(dot)com> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | connection string - DNS |
| Date: | 2005-08-04 16:30:12 |
| Message-ID: | BAY102-F37983FF4F04181E57224E6FBC40@phx.gbl |
| Views: | Whole Thread | Raw Message | 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!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tony Caduto | 2005-08-04 16:31:24 | Re: weirdness with a sql update |
| Previous Message | Gregory Youngblood | 2005-08-04 16:18:03 | Re: DNS vs /etc/hosts |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adam O'Toole | 2005-08-04 16:32:09 | connection string - DNS |
| Previous Message | operationsengineer1 | 2005-08-04 16:18:42 | change varchar(10) to varchar() |