Re: COPY command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mladen Gogala <mgogala(at)vmsinfo(dot)com>
Cc: PostgreSQL Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: COPY command
Date: 2010-08-26 20:13:40
Message-ID: 28441.1282853620@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Mladen Gogala <mgogala(at)vmsinfo(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Alan Hodgson 2010-08-26 20:17:52 Re: COPY command
Previous Message Mladen Gogala 2010-08-26 20:01:40 COPY command