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

From Tom Lane
Subject Re: [HACHERS] privilege check: column level only?
Date
Msg-id 17391.1181056716@sss.pgh.pa.us
Whole thread Raw
In response to [HACHERS] privilege check: column level only?  ("Golden Liu" <goldenliu@gmail.com>)
List pgsql-hackers
"Golden Liu" <goldenliu@gmail.com> writes:
> 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?

Since we don't have any, no ;-)

You could imagine implementing it as the spec suggests, but storing all
those per-column privileges would be bulky and usually redundant.
I think part of the "TODO" item here is to think of a more intelligent
representation that only stores a column privilege descriptor when it's
different from the table-level privileges.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of
Next
From: Heikki Linnakangas
Date:
Subject: Re: GIN, XLogInsert and MarkBufferDirty