PostgreSQL provides Error code 01007 ( privilege_not_granted ) and 01006 ( privilege_not_revoked ), is it possible to handle these exceptions?
I am not sure if codes are used at present (according to documentation: " Some are not actually used at present, but are defined by the SQL standard ." source: http://www.postgresql.org/docs/9.1/static/errcodes-appendix.html)
Or simply remove this tab (like on table level) if user is not allowed to change privilages...
Regards,
Bartek
--- Oryginalna wiadomo?? ---
Od: Guillaume Lelarge [mailto: guillaume(at)lelarge(dot)info]
Wys?ane: Thursday, January 26, 2012 10:14 PM
Do: bdmytrak(at)eranet(dot)pl
Kopia: pgadmin-support(at)postgresql(dot)org
Temat: Re: [pgadmin-support] column level privilages error
On Thu, 2012-01-26 at 08:20 +0100, bdmytrak(at)eranet(dot)pl wrote:
> Thanks,
> I manually edited table script (there was DEFAULT nextaval...) so I
> missed last parenthesis - my fault.
> I agree pgAdmin shouldn't display all warnings, but I think some of
> them shouldn't be ignerd - like this one.
Well, then, the question is: how do we know which one we should display?
trying to guess by comaring sentences won't work.
--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
PostgreSQL Sessions #3: http://www.postgresql-sessions.org
--
Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support