Re: Possible TODO item: copy to/from pipe

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possible TODO item: copy to/from pipe
Date: 2006-05-31 17:17:35
Message-ID: 447DCFAF.4070308@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-31 17:24:59 Re: [PATCH] Magic block for modules
Previous Message Andreas Pflug 2006-05-31 16:43:23 Re: copy progress notification