Table (or Column?) level permissions

From: "Jonathan Mast" <jonathan(dot)h(dot)mast(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Table (or Column?) level permissions
Date: 2008-01-14 17:37:25
Message-ID: 85e352e10801140937t6b9a3727gc62468126b3bd9f8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

We have some JSP code that accesses a table. The problem is that some
fields will not return results when selected for, nor will they throw
exceptions.

My question is: Can certain columns of a table be restricted in terms of who
can access them?

The queries are of the form:

SELECT * FROM myTbl WHERE col_A="someValue";

col_A works, but col_B, col_C, etc. don't.

I'm echoing the queries on the webpage, and these queries will work when
manually copied into the pgAdmin.

thanks,
jhmast

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message imad 2008-01-14 20:52:27 Re: Table (or Column?) level permissions
Previous Message Juergen Reif 2008-01-14 17:23:58 Pl/Java broken since Postgresql 8.3-rc1