pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Niels Laakmann <nielsson@grillen23.de>
To: pgsql-interfaces@postgresql.org
Subject: ECPG and COPY FROM STDIN
Date: Mon, 20 Nov 2006 12:12:41 +0100
Message-ID: <20061120111317.9889D77A3B@mail.toxisch.net> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <20061120111317.9889D77A3B@mail.toxisch.net>
Permalink:  ../20061120111317.9889D77A3B@mail.toxisch.net/
Also on:    postgresql.org/message-id/20061120111317.9889D77A3B@mail.toxisch.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: nielsson@grillen23.de
  Subject: Re: ECPG and COPY FROM STDIN
  In-Reply-To: <20061120111317.9889D77A3B@mail.toxisch.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox