Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Performance testing of COPY (SELECT) TO

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hans-Juergen Schoenig <postgres(at)cybertec(dot)at>
Cc: Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO
Date: 2006-08-28 16:55:28
Message-ID: 20060828165528.GR27526@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
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

In response to

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2006-08-28 17:00:13
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO
Previous:From: Zoltan BoszormenyiDate: 2006-08-28 16:54:37
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2006-08-28 17:00:13
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO
Previous:From: Zoltan BoszormenyiDate: 2006-08-28 16:54:37
Subject: Re: [HACKERS] Performance testing of COPY (SELECT) TO

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group