Received: from lacasilla.com.ar (www.lacasilla.com.ar [200.41.247.83]) by hub.org (8.10.1/8.10.1) with ESMTP id e83MOTC46735 for ; Sun, 3 Sep 2000 18:24:30 -0400 (EDT) Received: from lacasilla.com.ar [168.96.128.45] (wbaraldi@lacasilla.com.ar); Sun, 3 Sep 2000 19:28:22 -0300 X-WM-Posted-At: lacasilla.com.ar; Sun, 3 Sep 00 19:28:22 -0300 Message-ID: <310D9C61.373E9F25@lacasilla.com.ar> Date: Tue, 30 Jan 1996 01:19:45 -0300 From: Waldemar Baraldi X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: How can I kow my permissions? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/40 I'm programming a database application that uses the API, but I have some security issues that I have to manage, so I need to know my access rights on a table and the "try" technique is not appropiate because if I get a "Permission denied" then my transaction block is aborted and I don't want that to happend. The psql program can read it with the \z option so I know that it can be done, so, how? from tha API, a query? which?. Thanks in advance and sorry for my English, I speak Spanish.