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

From Stephen Frost
Subject Re: New patch for Column-level privileges
Date
Msg-id 20090108232941.GV26233@tamriel.snowman.net
Whole thread Raw
In response to Re: New patch for Column-level privileges  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: New patch for Column-level privileges
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> 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?

I've thought about it some, and yes, that sounds reasonable.  I'll try
and implement it tonight and test it out.
Thanks!
    Stephen

pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Improving compressibility of WAL files
Next
From: Hannu Krosing
Date:
Subject: Re: Improving compressibility of WAL files