Skip site navigation (1) Skip section navigation (2)

How do I use Npgsql to connect to a DSN?

From: "Rob Richardson" <Rob(dot)Richardson(at)rad-con(dot)com>
To: "pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: How do I use Npgsql to connect to a DSN?
Date: 2010-09-17 21:00:22
Message-ID: 04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-odbc
Greetings!

I like the layer of independence the use of a DSN gives me.  I can run
an application using one database, and then without changing the
application in any way, change the DSN to point to a different database,
and it still works.

I am about to begin developing an application using the Npgsql ADO .Net
provider for PostgreSQL.  I tried to specify a DSN in my connection
string, but the parameter name "DSN" was not accepted.  Is it not
possible to use a DSN with Npgsql?

Thanks very much!

RobR

In response to

pgsql-odbc by date

Next:From: noreplyDate: 2010-09-19 21:14:40
Subject: [ psqlodbc-Bugs-1010862 ] Will not run on Windows 2000 and older, missing symbols
Previous:From: G. AllegriDate: 2010-09-16 07:47:20
Subject: Re: ms-access tables relationships question

pgsql-admin by date

Next:From: Greg SmithDate: 2010-09-17 22:13:51
Subject: Re: Ingres statdump equivalent for postgresql
Previous:From: Tom LaneDate: 2010-09-17 20:30:16
Subject: Re: Ingres statdump equivalent for postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group