Re: New patch for Column-level privileges

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Markus Wanner <markus(at)bluegap(dot)ch>, Alex Hunsaker <badalex(at)gmail(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New patch for Column-level privileges
Date: 2009-01-09 03:00:18
Message-ID: 20090109030018.GW26233@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

KaiGai,

* KaiGai Kohei (kaigai(at)ak(dot)jp(dot)nec(dot)com) wrote:
> > I've thought about it some, and yes, that sounds reasonable. I'll try
> > and implement it tonight and test it out.

I've implemented this and it appears to work well.

> When we refer table-rowtype, analyzer handles its Var->varattno has
> InvalidAttrNumber (=0). If SQL standard mention nothing, it is quite
> natural to consider it refers whole of the user columns.

I've also updated the patch to handle this correctly.

I still have a dependency tracking issue that I'm trying to nail down.
I'll post an updated patch tonight regardless, however.

Thanks,

Stephen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-01-09 03:49:48 Re: patch to fix client only builds
Previous Message Alvaro Herrera 2009-01-09 01:21:33 Re: Warning about the 8.4 release