pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Pflug <pgadmin@pse-consulting.de>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Possible TODO item: copy to/from pipe
Date: Sun, 04 Jun 2006 14:07:01 +0200
Message-ID: <4482CCE5.6020900@pse-consulting.de> (raw)
In-Reply-To: <200606040012.k540C5V29587@candle.pha.pa.us>
References: <200606040012.k540C5V29587@candle.pha.pa.us>

Bruce Momjian wrote:
>
> For use case, consider this:
>
>  	COPY mytable TO '| rsh x@y.com > test ';
>
> so you can COPY to another server directly.
>   
Why not rsh psql -c "\copy foobar to test" ?

Regards,
Andreas




view thread (36+ messages)  latest in thread

Message-ID: <4482CCE5.6020900@pse-consulting.de>
Permalink:  ../4482CCE5.6020900@pse-consulting.de/
Also on:    postgresql.org/message-id/4482CCE5.6020900@pse-consulting.de

 · 

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-hackers@postgresql.org
  Cc: pgadmin@pse-consulting.de, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us
  Subject: Re: Possible TODO item: copy to/from pipe
  In-Reply-To: <4482CCE5.6020900@pse-consulting.de>

* 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