Tom Lane wrote:
> Probably not. But it strikes me that there's another sin of omission
> here: function and values RTEs need to be tweaked too, because they
> contain expressions thst could have uplevel Vars in them. I'm not
> certain such RTEs could appear at top level in a UNION query, but I'm
> not sure they couldn't either.
Hmm. Maybe through a rewrite or something?
We should use range_table_walker, which knows how to descend into all
kinds of RTEs...
In response to
pgsql-bugs by date
|Next:||From: Abuzar||Date: 2008-08-14 12:31:34|
|Subject: BUG #4354: Text Type converted to Memo|
|Previous:||From: Tom Lane||Date: 2008-08-13 13:42:02|
|Subject: Re: BUG #4350: 'select' acess given to views containing "union all" even though user has no grants |