Re: [GENERAL] transparently log a right error

2009-11-26 Thread Craig Ringer
On 26/11/2009 11:56 PM, Jean-Yves F. Barbier wrote: > Hi list, > > How could I transparently log an error where user miss a right, > I know how to write a RULE, but not this way: > > ie: > * user don't have a direct access to tables but to procedures that >manipulates tables. > > * He try t

[GENERAL] transparently log a right error

2009-11-26 Thread Jean-Yves F. Barbier
Hi list, How could I transparently log an error where user miss a right, I know how to write a RULE, but not this way: ie: * user don't have a direct access to tables but to procedures that manipulates tables. * He try to make a: SELECT * FROM table5 which normally returns: "ERROR: right