X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9EA02DA4C1 for ; Thu, 22 Sep 2005 05:32:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85338-08 for ; Thu, 22 Sep 2005 08:32:14 +0000 (GMT) Received: from smtp1.wanadoo.fr (smtp1.wanadoo.fr [193.252.22.30]) by svr1.postgresql.org (Postfix) with ESMTP id 1EA7CDA4A3 for ; Thu, 22 Sep 2005 05:32:14 -0300 (ADT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0101.wanadoo.fr (SMTP Server) with ESMTP id 5E18B1C00256 for ; Thu, 22 Sep 2005 10:32:15 +0200 (CEST) Received: from [192.168.1.36] (ABayonne-152-1-26-97.w83-193.abo.wanadoo.fr [83.193.46.97]) by mwinf0101.wanadoo.fr (SMTP Server) with ESMTP id 192501C00221 for ; Thu, 22 Sep 2005 10:32:15 +0200 (CEST) X-ME-UUID: 20050922083215103.192501C00221@mwinf0101.wanadoo.fr Message-ID: <43326BF5.7020704@hizkia.fr> Date: Thu, 22 Sep 2005 10:31:49 +0200 From: Jone Reply-To: j.haran@hizkia.fr User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: fr, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Access end Postgres Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/167 X-Sequence-Number: 6065 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)