pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean Davis <sdavis2@mail.nih.gov>
To: pgsql-interfaces@postgresql.org
Cc: Niels Laakmann <nielsson@grillen23.de>
Subject: Re: ECPG and COPY FROM STDIN
Date: Mon, 20 Nov 2006 06:42:23 -0500
Message-ID: <200611200642.23872.sdavis2@mail.nih.gov> (raw)
In-Reply-To: <20061120111317.9889D77A3B@mail.toxisch.net>
References: <20061120111317.9889D77A3B@mail.toxisch.net>

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



view thread (4+ messages)  latest in thread

Message-ID: <200611200642.23872.sdavis2@mail.nih.gov>
Permalink:  ../200611200642.23872.sdavis2@mail.nih.gov/
Also on:    postgresql.org/message-id/200611200642.23872.sdavis2@mail.nih.gov

 · 

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: sdavis2@mail.nih.gov, nielsson@grillen23.de
  Subject: Re: ECPG and COPY FROM STDIN
  In-Reply-To: <200611200642.23872.sdavis2@mail.nih.gov>

* 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