X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5FA2C9FA61D for ; Wed, 5 Jul 2006 16:09:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 81903-09 for ; Wed, 5 Jul 2006 16:09:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 9BD329FA4A8 for ; Wed, 5 Jul 2006 16:09:00 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 5 Jul 2006 19:08:59 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 05 Jul 2006 14:08:59 -0500 Subject: Re: Wrap (obfuscate) code From: Scott Marlowe To: Tom Lane Cc: rdeleonp@gmail.com, rdeleonp@yahoo.com, "Joshua D. Drake" , pgsql-admin@postgresql.org, "Jonah H. Harris" , Aaron Bono In-Reply-To: <28774.1152064303@sss.pgh.pa.us> References: <36e682920607041552h2a1ca123if24fb0eb3d65cb16@mail.gmail.com> <36e682920607041553g28cc72b5p2a0dc5eec26a357a@mail.gmail.com> <200607041656.19430.jd@commandprompt.com> <28774.1152064303@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1152126538.13851.36.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 05 Jul 2006 14:08:59 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/26 X-Sequence-Number: 22272 On Tue, 2006-07-04 at 20:51, Tom Lane wrote: > "Rodrigo De Leon" writes: > > I would be quite a bonus to have equivalent functionality in PG. > > Write your functions in C and give them precompiled libraries. > Yes, also theoretically decompilable, but plenty hard ... plus > they have to come back to you for an update on every major PG > revision ;-) Or, just hire a crusty old perl programmer and have him write them all as one line, super compact perl scripts and use plperl. ;^)