X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B3BFED1B182 for ; Wed, 30 Jun 2004 06:03:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30099-06 for ; Wed, 30 Jun 2004 09:03:22 +0000 (GMT) Received: from mxsf19.cluster1.charter.net (mxsf19.cluster1.charter.net [209.225.28.219]) by svr1.postgresql.org (Postfix) with ESMTP id 8C234D1B23C for ; Wed, 30 Jun 2004 06:03:19 -0300 (ADT) Received: from mxip04.cluster1.charter.net (mxip04a.cluster1.charter.net [209.225.28.134]) by mxsf19.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id i5U9442q014098 for ; Wed, 30 Jun 2004 05:04:04 -0400 Received: from 66-191-125-195.mad.wi.charter.com (HELO shiva) (66.191.125.195) by mxip04.cluster1.charter.net with ESMTP; 30 Jun 2004 05:03:19 -0400 X-Ironport-AV: i="3.81R,140,1083556800"; d="scan'208"; a="72575448:sNHT13121068" Received: from quale by shiva with local (Exim 3.36 #1 (Debian)) id 1Bfb02-0001Mm-00 for ; Wed, 30 Jun 2004 04:03:26 -0500 To: pgsql-admin@postgresql.org Subject: Re: grant execute on many functions References: <40E1E1A9.8080207@fastmail.fm> <40E1ECEF.5090007@joeconway.com> <3318.1088567114@sss.pgh.pa.us> <40E23F72.4000108@joeconway.com> From: Doug Quale Date: 30 Jun 2004 04:03:26 -0500 In-Reply-To: <40E23F72.4000108@joeconway.com> Message-ID: <87oen1quxt.fsf@charter.net> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200406/395 X-Sequence-Number: 14055 Joe Conway writes: > That's even better -- I tried regproc, but forgot about > regprocedure. I think the problem will be, though, that the output of > the reg* datatypes is not castable to text, and therefore cannot be > used to build a dynamic sql statement. This must be why test=# select oid::regprocedure from pg_proc order by oid::regprocedure; doesn't sort the way I would expect.