Re: Defining a Connection String in Windows XP

From: John R Pierce <pierce(at)hogranch(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Defining a Connection String in Windows XP
Date: 2010-12-14 03:25:37
Message-ID: 4D06E3B1.1040909@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/13/10 6:32 PM, ray joseph wrote:
>
> I used a System DSN and it worked.
> Now to figure out what to do with it.
> BTW, what are some of the considerations for choosing DSN types System,
> File, User?

all three do the same thing in the end, they specify a ODBC database
connection.

the system DSN is available to all users of that system.

the file DSN is just that, a file, that contains a few lines of text
with the DSN information, you can bundle it with your app, and you
reference it by the fully qualified path to the file.

a user DSN is only available to the user that defined it. for some
dorky reason, I don't think you can save the database password with
these ad it has to be specified when you use the connection

for various reasons, system DSN's are generally easier to use in
microsoft-land.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message tuanhoanganh 2010-12-14 05:03:38 Bytea error in PostgreSQL 9.0
Previous Message ray joseph 2010-12-14 02:32:00 Re: Defining a Connection String in Windows XP