Re: [HACHERS] privilege check: column level only? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACHERS] privilege check: column level only?
Date
Msg-id 200706051029.30380.peter_e@gmx.net
Whole thread Raw
In response to [HACHERS] privilege check: column level only?  ("Golden Liu" <goldenliu@gmail.com>)
Responses Re: [HACHERS] privilege check: column level only?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Am Dienstag, 5. Juni 2007 06:39 schrieb Golden Liu:
> According to this, column privilege descriptors are created automatically
> while table privilege descriptor is created. Then, while checking
> privilege, can I JUST check column level privilege?

While possible, for performance reasons it would probably be unwise.  Needs 
checking.

> Any and all help and/or comment is appreciated. From sql standard, I found
> no information on how privilege check should be done.

The SQL standard only explains constraints on the behavior of an 
implementation, not how to implement it.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Richard Huxton
Date:
Subject: Re: libpq and Binary Data Formats
Next
From: Teodor Sigaev
Date:
Subject: Re: GIN, XLogInsert and MarkBufferDirty