Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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.


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

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group