Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C5E1D2E02C8 for ; Thu, 20 Dec 2007 16:08:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 57665-03-2 for ; Thu, 20 Dec 2007 16:07:52 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 270092E42C9 for ; Thu, 20 Dec 2007 16:07:51 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-76-117.bk5-dsl.surnet.cl [200.126.76.117]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id lBKK7cZW031997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 12:07:40 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 17DB447C88; Thu, 20 Dec 2007 17:07:39 -0300 (CLST) Date: Thu, 20 Dec 2007 17:07:39 -0300 From: Alvaro Herrera To: "Joshua D. Drake" Cc: Trevor Talbot , "Roberts, Jon" , Kris Jurka , Merlin Moncure , "Jonah H. Harris" , Bill Moran , pgsql-performance@postgresql.org Subject: Re: viewing source code Message-ID: <20071220200739.GC11586@alvh.no-ip.org> References: <1A6E6D554222284AB25ABE3229A92762112A33@nrtexcus702.int.asurion.com> <476A9ADF.5030101@commandprompt.com> <90bce5730712201047m4dd0fe05k6b1fccc57897326f@mail.gmail.com> <20071220114011.64a650d7@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20071220114011.64a650d7@commandprompt.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 20 Dec 2007 12:07:40 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/320 X-Sequence-Number: 28136 Joshua D. Drake escribió: > I don't know that it needs to be that extensive. I noted elsewhere in > the thread the idea of a plpgsql_s. I think that is an interesting > idea. I just don't think it needs to be incorporated into > postgresql-core. I don't think that makes any kind of sense. Hiding prosrc should happen on a entirely different level from the language on which the function is written. It's a completely orthogonal decision. Besides, you probably don't want prosrc to be encrypted -- just not accesible to everyone, and it doesn't make sense to have a different _language_ to do that. Also, having an encrypted source code means there must be a decryption key somewhere, which is a pain on itself. And if you expose the crypted prosrc, you are exposing to brute force attacks (to which you are not if prosrc is hidden). -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.