Thom Dyson wrote:> the permissions that the user has to the table.
> Does anyone know where there is code that will do this sort of thing?
See:http://www.postgresql.org/docs/current/static/functions-misc.html#FUNCTIONS-MISC-ACCESS-TABLE
HTH,
Joe