Re: COPY command - Mailing list pgsql-novice

From Tom Lane
Subject Re: COPY command
Date
Msg-id 28441.1282853620@sss.pgh.pa.us
Whole thread Raw
In response to COPY command  (Mladen Gogala <mgogala@vmsinfo.com>)
Responses Re: COPY command  (Alan Hodgson <ahodgson@simkin.ca>)
List pgsql-novice
Mladen Gogala <mgogala@vmsinfo.com> writes:
> Is the copy command using SQL or does it do its magic using some lower
> level mechanism? In short, my question is whether I can somehow use
> something like copy from a Perl script?

COPY to/from the client (as opposed to to/from a file) involves some
special protocol.  If your Perl driver knows how to do COPY, the
answer is yes.

            regards, tom lane

pgsql-novice by date:

Previous
From: Mladen Gogala
Date:
Subject: COPY command
Next
From: Alan Hodgson
Date:
Subject: Re: COPY command