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: (view raw, whole thread or download thread mbox)
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-2018 The PostgreSQL Global Development Group