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 BAA42D1B28B for ; Wed, 30 Jun 2004 12:32:09 -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 32761-02 for ; Wed, 30 Jun 2004 15:32:05 +0000 (GMT) Received: from mxsf15.cluster1.charter.net (mxsf15.cluster1.charter.net [209.225.28.215]) by svr1.postgresql.org (Postfix) with ESMTP id 3DC20D1B1DA for ; Wed, 30 Jun 2004 12:32:03 -0300 (ADT) Received: from mxip08.cluster1.charter.net (mxip08a.cluster1.charter.net [209.225.28.138]) by mxsf15.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id i5UFX1nW031438 for ; Wed, 30 Jun 2004 11:33:01 -0400 Received: from 66-191-125-195.mad.wi.charter.com (HELO shiva) (66.191.125.195) by mxip08.cluster1.charter.net with ESMTP; 30 Jun 2004 11:31:59 -0400 X-Ironport-AV: i="3.81R,141,1083556800"; d="scan'208"; a="77994378:sNHT12362548" Received: from quale by shiva with local (Exim 3.36 #1 (Debian)) id 1Bfh4A-0000b1-00 for ; Wed, 30 Jun 2004 10:32:06 -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> <87oen1quxt.fsf@charter.net> <8987.1088608020@sss.pgh.pa.us> From: Doug Quale Date: 30 Jun 2004 10:32:06 -0500 In-Reply-To: <8987.1088608020@sss.pgh.pa.us> Message-ID: <877jtp9i4p.fsf@charter.net> Lines: 14 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/400 X-Sequence-Number: 14060 Tom Lane writes: > Doug Quale writes: > > test=# select oid::regprocedure from pg_proc order by oid::regprocedure; > > > doesn't sort the way I would expect. > > Nope, it'd just be ordering by the numeric OID. If you added a cast > procedure as we were just discussing, you could order by > oid::regprocedure::text and get what I suppose you're expecting. Thanks for the explanation. Some months ago I had tried oid::regprocedure::text and found it didn't work. I didn't figure out that this was because I need to create a cast procedure.