Re: [PATCH] COPY .. COMPRESSED - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] COPY .. COMPRESSED
Date
Msg-id 22373.1358179997@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] COPY .. COMPRESSED  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [PATCH] COPY .. COMPRESSED
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> I do like the idea of a generalized answer which just runs a
> user-provided command on the server but that's always going to require
> superuser privileges.

The design that was being kicked around allowed pipes to be used on the
client side too, ie \copy foo to '| gzip ...'.  That form would not
require any special privileges, and might be thought preferable for
another reason too: it offloads the work from the server.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: erroneous restore into pg_catalog schema
Next
From: Peter Geoghegan
Date:
Subject: Re: Timing events WIP v1