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 914B3D1B1D0 for ; Wed, 30 Jun 2004 01:38: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 22626-06 for ; Wed, 30 Jun 2004 04:38:07 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5A102D1B1A0 for ; Wed, 30 Jun 2004 01:38:06 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5U4c2s8003844; Wed, 30 Jun 2004 00:38:02 -0400 (EDT) To: Joe Conway Cc: Jean-Denis Giguere , pgsql-admin@postgresql.org Subject: Re: grant execute on many functions In-reply-to: <40E23F72.4000108@joeconway.com> References: <40E1E1A9.8080207@fastmail.fm> <40E1ECEF.5090007@joeconway.com> <3318.1088567114@sss.pgh.pa.us> <40E23F72.4000108@joeconway.com> Comments: In-reply-to Joe Conway message dated "Tue, 29 Jun 2004 21:20:02 -0700" Date: Wed, 30 Jun 2004 00:38:01 -0400 Message-ID: <3843.1088570281@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/389 X-Sequence-Number: 14049 Joe Conway writes: > select 'GRANT EXECUTE ON ' || 1142::regprocedure; > ERROR: array value must start with "{" or dimension information BTW, it seems like there's something pretty broken here. How did arrays get into it? A quick probe suggests that it is resolving the above input as array_append for type regprocedure[], which would qualify as a surprising choice in my book. 7.3 gives a more reasonable "unable to identify an operator ||" ... regards, tom lane