pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andreas Pflug <pgadmin@pse-consulting.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Possible TODO item: copy to/from pipe
Date: Wed, 31 May 2006 10:17:35 -0700
Message-ID: <447DCFAF.4070308@commandprompt.com> (raw)
In-Reply-To: <13208.1149093007@sss.pgh.pa.us>
References: <12436.1149087794@sss.pgh.pa.us>
	<447DB844.6010507@pse-consulting.de>
	<447DB910.2020607@pse-consulting.de>
	<13208.1149093007@sss.pgh.pa.us>

> 
> I dislike putting this into the backend precisely because it's trying to
> impose a one-size-fits-all compression solution.  Someone might wish to
> use bzip2 instead of gzip, for instance, or tweak the compression level
> options of gzip.  It's trivial for the user to do that if the
> compression program is separate, not trivial at all if it's wired into
> COPY.  Also, a pipe feature would have uses unrelated to compression,
> such as on-the-fly analysis or generation of data.

It seems that it would be better to have the options within pg_dump 
which would give the most flexibility.

Sincerely,

Joshua D. Drake

-- 

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/





view thread (36+ messages)  latest in thread

Message-ID: <447DCFAF.4070308@commandprompt.com>
Permalink:  ../447DCFAF.4070308@commandprompt.com/
Also on:    postgresql.org/message-id/447DCFAF.4070308@commandprompt.com

 · 

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: jd@commandprompt.com, tgl@sss.pgh.pa.us, pgadmin@pse-consulting.de
  Subject: Re: Possible TODO item: copy to/from pipe
  In-Reply-To: <447DCFAF.4070308@commandprompt.com>

* 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