Re: [HACKERS] GRANT suggestion - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] GRANT suggestion
Date
Msg-id 37970AC4.347D653B@krs.ru
Whole thread Raw
In response to GRANT suggestion  (Zakkr <zakkr@zf.jcu.cz>)
List pgsql-hackers
Zakkr wrote:
> 
> Hi,
> 
> I need set lock table privilage for user, but now I must grant upload
> priv. for it. But I needn't upload priv. for user. Upload is possible
> via RULEs without GRANTed (upload) privilage for user.
> 
> My suggestion is add to GRANT command LOCK privilage.
> 
>  ....
>   privilege is {ALL | SELECT | INSERT | UPDATE | DELETE | RULE | LOCK

Oracle:

The table or view must be in your own schema or you must have 
LOCK ANY TABLE system privilege or 
you must have any object privilege on the table or view.              ^^^^^^^^^^^^^^^^^^^^

So, I agreed with new LOCK privilege with addition above.

Vadim


pgsql-hackers by date:

Previous
From: Zakkr
Date:
Subject: GRANT suggestion
Next
From: "Mark Hollomon"
Date:
Subject: Re: [HACKERS] Maximum query string length