Re: New patch for Column-level privileges - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New patch for Column-level privileges
Date
Msg-id 27345.1231447282@sss.pgh.pa.us
Whole thread Raw
In response to Re: New patch for Column-level privileges  (Stephen Frost <sfrost@snowman.net>)
Responses Re: New patch for Column-level privileges  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> I'm open to suggestions about how to handle this.  My first thought
> would be- add an entry to the cols_sel list for the RTE that is special
> and indicates "any column", perhaps by using a '0' for the attrid, as is
> done elsewhere.  Then modify ExecCheckRTEPerms() to handle it.

Wouldn't it be sufficient to treat an empty cols_sel list that way?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Ryan Bradetich"
Date:
Subject: Re: [WIP] Reduce alignment requirements on 64-bit systems.
Next
From: Heikki Linnakangas
Date:
Subject: Re: Hot standby, slot ids and stuff