Hans-Juergen Schoenig wrote:

> >It's ugly because you are forcing the system to parse something that
> >was already parsed.
> definitely an argument for dropping the view stuff ...

On the other hand, it's quite possible that this could be made to work
_without_ doing black magic (which would be OK by me).

> >On the other hand I don't see why you are arguing in favor of a useless
> >feature whose coding is dubious; you can have _the same thing_ with nice
> >code and no discussion.
> what are you referring to?

The fact that the direct "copy view" feature is just syntactic sugar
over "copy (select * from view)".  The latter we can have without
discussion -- from me, that is :-)

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

Reply via email to