Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A860847688B for ; Wed, 23 Oct 2002 00:49:50 -0400 (EDT) Received: from m20.unixathome.org (m20.unixathome.org [66.11.168.227]) by postgresql.org (Postfix) with ESMTP id 3C5B44768AA for ; Wed, 23 Oct 2002 00:49:50 -0400 (EDT) Received: by m20.unixathome.org (Postfix, from userid 1001) id 02DAF7A8D; Wed, 23 Oct 2002 00:49:52 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by m20.unixathome.org (Postfix) with ESMTP id 6EBA51F04; Wed, 23 Oct 2002 00:49:52 -0400 (EDT) Date: Wed, 23 Oct 2002 00:49:52 -0400 (EDT) From: Dan Langille X-X-Sender: dan@m20.unixathome.org To: Tom Lane Cc: Bruno Wolff III , Gabor Faludi , Subject: Re: security rights per database DDL/DML connect In-Reply-To: <28171.1035348049@sss.pgh.pa.us> Message-ID: <20021023004333.I65358-100000@m20.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/204 X-Sequence-Number: 6062 On Wed, 23 Oct 2002, Tom Lane wrote: > Dan Langille writes: > > Will I be able to give people the right to execute a function, but not > > view it? > > Write it in C. Short of that, you're asking for unenforceable > restrictions on the ability to read pg_proc. I like that approach. Given that the existing functions are written in plpgsql, is there a good guide to converting to C?