pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philippe Lang <philippe.lang@attiksystem.ch>
To: Jeff Eckermann <jeff_eckermann@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC DSN Connections
Date: Tue, 4 Nov 2003 08:10:46 +0100
Message-ID: <6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch> (raw)

In Ms-Access, DSN-less connections for pass-through queries, or linked tables work, but I noticed strange problems regarding permissions. The only way to make them work - perfectly! - was to use a DSN. Maybe I'm doing something wrong?

-----Message d'origine-----
De : Jeff Eckermann [mailto:jeff_eckermann@yahoo.com]
Envoyé : lundi, 3. novembre 2003 20:57
À : Philippe Lang
Cc : pgsql-odbc@postgresql.org
Objet : Re: [ODBC] ODBC DSN Connections


--- Philippe Lang <philippe.lang@attiksystem.ch>
wrote:

> Just one quick note, though: My client will be
> implemented with MS Access 2000, and I had a lot of
> problems with permissions and DSN-less connection.
> Permissions simply do not work, at least for me,
> unless I use a good old DSN, with a username and a
> password inside. I use a lot of "Pass-through
> queries" in Access, which are generated dynamically,
> in order to pass parameters to Postgresql, and
> process the results inside a report. 

There's nothing to stop you from making a connection
at the time you do your pass-through query, in the
same code.  But you would need to hard-code your
connection parameters, or prompt the user for them;
either approach has its drawbacks.  Or you could read
the parameters from another location, but that brings
you right back to your DSN idea...

But I agree with you in general, I like the
simplification that DSNs allow.  Although I am not
supporting any large number of client installations.


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/



view thread (8+ messages)  latest in thread

Message-ID: <6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch>
Permalink:  ../6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch/
Also on:    postgresql.org/message-id/6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: philippe.lang@attiksystem.ch, jeff_eckermann@yahoo.com
  Subject: Re: ODBC DSN Connections
  In-Reply-To: <6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch>
  References: <6C0CF58A187DA5479245E0830AF84F420AF709@poweredge.attiksystem.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox