Checking Permissions with SQL

Joseph <lters@mrtc.com>

From: "Joseph" <lters@mrtc.com>
To: <pgsql-general@postgresql.org>
Date: 2001-02-09T11:17:21Z
Lists: pgsql-general
How would I be able to check whether I have select,update,insert,etc
permissions on a given table with an sql statement?

I am working on a generic php interface that lists all or some tables and
lets you edit them.

I want to get away from the permisssion denied error that php gives me.

Joseph Showalter