Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> writes:
> On Sat, 2003-05-10 at 11:00, Tom Lane wrote:
>> Have you thought about using COPY?
> Generate a temporary file, and then system("COPY /tmp/foobar ...") ?
No, copy from stdin. No need for a temp file.
regards, tom lane