Re: ZIP function - Mailing list pgsql-sql

From Jasen Betts
Subject Re: ZIP function
Date
Msg-id ki2vn3$m0q$1@gonzo.reversiblemaps.ath.cx
Whole thread Raw
In response to ZIP function  ("Victor Sterpu" <victor@caido.ro>)
Responses Re: ZIP function
List pgsql-sql
On 2013-03-16, Victor Sterpu <victor@caido.ro> wrote:
>
> --------=_MBF521B7A8-BC31-4E93-BC62-8C86007F2089
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain; format=flowed; charset=utf-8
>
> Is there a function that will give the resulting zip content for a=20
> string?
> Like SELECT zip('test data');?

no. you could write one that calls gzip in one of the untrusted
languages.  or in C you could call zlib.


-- 
⚂⚃ 100% natural




pgsql-sql by date:

Previous
From: "Victor Sterpu"
Date:
Subject: ZIP function
Next
From: Ben Morrow
Date:
Subject: Re: ZIP function