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

ECPG and COPY FROM STDIN

From: Niels Laakmann <nielsson(at)grillen23(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: ECPG and COPY FROM STDIN
Date: 2006-11-20 11:12:41
Message-ID: 20061120111317.9889D77A3B@mail.toxisch.net (view raw or flat)
Thread:
Lists: pgsql-interfaces
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 ?



Niels

Responses

pgsql-interfaces by date

Next:From: Sean DavisDate: 2006-11-20 11:42:23
Subject: Re: ECPG and COPY FROM STDIN
Previous:From: Sandeep KhandelwalDate: 2006-10-31 10:41:55
Subject: Re: How to get table definition of a PostgreSQL table

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