Home > Archive > PostgreSQL Discussion > August 2005 > Re: About "ERROR: must be *superuser* to COPY to or from a file"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: About "ERROR: must be *superuser* to COPY to or from a file"
Tom Lane

2005-08-28, 11:23 am

Greg Stark <gsstark@mit.edu> writes:
> In any case here's some quick results from my system. There seems to a greater
> than 21% slowdown associated with piping the data through two processes
> instead of reading directly.


Well, if the penalty is order of 20% (as opposed to integer multiples)
I think the discussion is over. We're not going to introduce arguable
security holes for that sort of gain --- there are other places we could
find that much speedup for much less risk.

(BTW, were you testing CVS tip or 8.0? The recent COPY FROM speedup
patch would have affected this test.)

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com