Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group