Ah, you're right. Thanks Hannu, that's a good solution.<br /><br /> Hannu Krosing wrote: <blockquote
cite="mid:1270246688.6482.263.camel@hvost"type="cite"><pre wrap="">On Fri, 2010-04-02 at 16:28 -0400, Beaver, John E
wrote:
...
</pre><blockquote type="cite"><pre wrap="">I know that the query used here could have been a COPY statement, which I
assumewouldbe better-behaved, but I'm more concerned about the case in which the query is more complex.
</pre></blockquote><prewrap="">
COPY can copy out results of a SELECT query as well.
</pre></blockquote><br /><pre class="moz-signature" cols="72">--
John E. Beaver
Bioinformatics Developer
Harvard Medical School</pre>