Re: ECPG and COPY FROM STDIN

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: Niels Laakmann <nielsson(at)grillen23(dot)de>
Subject: Re: ECPG and COPY FROM STDIN
Date: 2006-11-20 11:42:23
Message-ID: 200611200642.23872.sdavis2@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Monday 20 November 2006 06:12, Niels Laakmann wrote:
> Hey List!
> I have to do a Benchmark-Test in C (ECPG) with and without network.
> After reading the Performance and COPY Documentation (not correctly), I
> wanted to Copy a File over the Network by using "COPY FROM 'filename'".
> After some curious Problems I knew why.
> Now I read some about "COPY FROM STDIN. But I didn't find an Example.
> Can someone please give me an Example for that ?
>
> Or:
>
> Is there another command to insert many tuples from a Client to a
> Server in an adequate time ?

How about here:

http://www.postgresql.org/docs/8.1/interactive/libpq-copy.html

Sean

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message James M Doherty 2006-11-21 11:29:16 C LIBRARY EXTENSION SEGFAULT
Previous Message Niels Laakmann 2006-11-20 11:12:41 ECPG and COPY FROM STDIN