Re: Altering view ownership doesn't work ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Altering view ownership doesn't work ...
Date: 2006-05-30 03:12:41
Message-ID: 200605300312.k4U3CfY28904@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout wrote:
-- Start of PGP signed section.
> On Sun, Apr 30, 2006 at 12:34:42PM -0400, Tom Lane wrote:
> > 2. Run setRuleCheckAsUser during rule load rather than rule store.
> >
> > #2 is a lot simpler, and would fix the problem for existing broken rules
> > whereas #1 would not, so I'm kind of inclined to go with that. I doubt
> > there'd be any meaningful performance hit --- parsing the stored form
> > of a rule is relatively expensive anyway, so we cache the results.
>
> FWIW, I think #2 is better also. It's the easiest way to ensure the
> correct result and the performence isn't enough of a problem to worry
> about doing it a different way.

Has this been completed?

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-30 03:24:07 Re: Altering view ownership doesn't work ...
Previous Message Tom Lane 2006-05-30 02:53:49 Re: type recv/send functions