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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match