Re: Can I assume there's only one _RETURN rule?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can I assume there's only one _RETURN rule?
Date: 2006-08-18 03:01:09
Message-ID: 20060818030109.GD32181@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:

> On the other hand it doesn't break CVS tip at all, i.e. I can perfectly
> create the view and it works. (I can even call it "*NEW*").

Actually CVS tip seems a bit broken,

alvherre=# \d "*NEW*"
Vista «public.*NEW*»
Columna | Tipo | Modificadores
---------+---------+---------------
a | integer |
Definición de vista:
SELECT public.old.a
FROM "*OLD*";

note the "public.old.a". The culprit seems to be get_target_list, but
I see that 8.1 behaves the same (and given your reply I guess it's been
like that for a long time.)

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2006-08-18 05:52:09 Re: Autovacuum on by default?
Previous Message Tom Lane 2006-08-18 02:53:04 Re: Can I assume there's only one _RETURN rule?