Skip site navigation (1) Skip section navigation (2)

Re: [HACHERS] privilege check: column level only?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Golden Liu" <goldenliu(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACHERS] privilege check: column level only?
Date: 2007-06-05 15:18:36
Message-ID: 17391.1181056716@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Golden Liu" <goldenliu(at)gmail(dot)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

In response to

pgsql-hackers by date

Next:From: Bernd HelmleDate: 2007-06-05 15:20:10
Subject: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of
Previous:From: Tom LaneDate: 2007-06-05 15:14:52
Subject: Re: GIN, XLogInsert and MarkBufferDirty

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group