Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UH12h-0008F5-OY for pgsql-sql@arkaria.postgresql.org; Sun, 17 Mar 2013 00:01:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UH12h-0001QG-4w for pgsql-sql@arkaria.postgresql.org; Sun, 17 Mar 2013 00:01:39 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UH12f-0001Q8-5z for pgsql-sql@postgresql.org; Sun, 17 Mar 2013 00:01:37 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UH12b-000550-Op for pgsql-sql@postgresql.org; Sun, 17 Mar 2013 00:01:36 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UH12u-0005vr-CG for pgsql-sql@postgresql.org; Sun, 17 Mar 2013 01:01:52 +0100 Received: from ip-118-90-95-71.xdsl.xnet.co.nz ([118.90.95.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Mar 2013 01:01:52 +0100 Received: from jasen by ip-118-90-95-71.xdsl.xnet.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Mar 2013 01:01:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: Jasen Betts Subject: Re: ZIP function Date: 16 Mar 2013 23:37:07 GMT Organization: Dis (not Dat) Organisation Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-118-90-95-71.xdsl.xnet.co.nz X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s; a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W; (T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q; 8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ User-Agent: slrn/pre1.0.0-18 (Linux) X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 2013-03-16, Victor Sterpu 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 -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql