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

2007-06-05 Thread Tom Lane
"Golden Liu" <[EMAIL PROTECTED]> 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 implemen

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

2007-06-05 Thread Andrew Dunstan
Peter Eisentraut wrote: 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,

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

2007-06-05 Thread Peter Eisentraut
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

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

2007-06-04 Thread Golden Liu
Hello I'm one of the Google SoC's students for PostgreSQL. While reading sql92 standard, I found something like this: 11.36 General Rules 3) For every identified privilege descriptor whose action is SELECT, INSERT, UPDATE, or REFERENCES without a column name,