How can I kow my permissions? - Mailing list pgsql-general

From Waldemar Baraldi
Subject How can I kow my permissions?
Date
Msg-id 310D9C61.373E9F25@lacasilla.com.ar
Whole thread Raw
List pgsql-general
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.

pgsql-general by date:

Previous
From: "Jason J. Czerak"
Date:
Subject: Simulating corruption
Next
From: "Sean Carmody"
Date:
Subject: PostgreSQL Upgrade Difficulties