Re: Possible TODO item: copy to/from pipe - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Possible TODO item: copy to/from pipe
Date
Msg-id 20060531195812.GB12167@surnet.cl
Whole thread Raw
In response to Re: Possible TODO item: copy to/from pipe  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Possible TODO item: copy to/from pipe
List pgsql-hackers
Andrew Dunstan wrote:
> David Fetter wrote:

> >As with "in-place upgrades,"[1] the compelling use case is being short
> >on disk space.  For somebody with a multi-TB (or whatever figure
> >sounds big this week) PostgreSQL database, it may be impossible to get
> >space for twice or more that.  Giving people the option to stream
> >COPYs through a pipe would alleviate a lot of pain.
> 
> But why is that hugely better than piping psql output to gzip?

psql output has already travelled over the network.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Possible TODO item: copy to/from pipe
Next
From: Andrew Dunstan
Date:
Subject: Re: error-free disabling of individual child partition