Re: [GENERAL] Strange permission problem regarding pg_settings

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, pgsql-hackers(at)postgresql(dot)org, Jan Wieck <JanWieck(at)Yahoo(dot)com>
Subject: Re: [GENERAL] Strange permission problem regarding pg_settings
Date: 2003-12-28 05:06:19
Message-ID: 3FEE64CB.4010801@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
>>OK, that makes more sense now. But why isn't table2 also in the rule
>>query's rtable?
>
> It is, but you errored out before getting to it.

The fog has finally started lifting, I think.

Why wouldn't we force checkAsUser to the rule owner in the copied RTEs,
similar to the rest of the rule query? It makes sense in that the rule
query could possibly use the RTE (although as you pointed out it doesn't
in this case), and therefore the permission check should be the same, no?

Joe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gianni Mariani 2003-12-28 05:24:56 Re: Is my MySQL Gaining ?
Previous Message Chris Travers 2003-12-28 03:32:11 Re: Is my MySQL Gaining ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Gianni Mariani 2003-12-28 05:24:56 Re: Is my MySQL Gaining ?
Previous Message Chris Travers 2003-12-28 03:32:11 Re: Is my MySQL Gaining ?