pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jone <j.haran@hizkia.fr>
To: pgsql-odbc@postgresql.org
Subject: Access end Postgres
Date: Thu, 22 Sep 2005 10:31:49 +0200
Message-ID: <43326BF5.7020704@hizkia.fr> (raw)

Hello,
I am working with Microsoft Access 2003 accessing a postgres database 
via ODBC.
I would like to know the best way to change the current user logged in 
the database without closing my application.

I have made a module that create linked table (ODBC without DSN). If i 
use it with a first user it works fine but then if i delete all the 
links and then link my table with another user, when i access the table 
i have always the rights affected to the first user and in the postgres 
logs i can see that it is always the first user that is identified. But 
if i execute an ODBC request by program with the second user (without 
using the linked table), in the logs i can see that the second user has 
really executed that request.
I have also executed the command "set session authorization" but it dose 
not seem to work even with a super-user.

Can anyone help me on this issue ?
Thank you by advance.

-- 
Jone SAUBABER HARAN
HIZKIA Informatique
64100 Bayonne (FRANCE)






view thread (2+ messages)  latest in thread

Message-ID: <43326BF5.7020704@hizkia.fr>
Permalink:  ../43326BF5.7020704@hizkia.fr/
Also on:    postgresql.org/message-id/43326BF5.7020704@hizkia.fr

 · 

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: j.haran@hizkia.fr
  Subject: Re: Access end Postgres
  In-Reply-To: <43326BF5.7020704@hizkia.fr>
  References: <43326BF5.7020704@hizkia.fr>

* 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