Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wd7fc-0001ip-5o for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 00:37:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wd7fb-0004eG-Md for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 00:37:43 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wd7fa-0004eA-Vh for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 00:37:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wd7fU-0006zh-Jr for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 00:37:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s3O0bXR1005395; Wed, 23 Apr 2014 20:37:33 -0400 From: Tom Lane To: Andres Freund cc: pgsql-bugs@postgresql.org Subject: Re: mismatching proargtypes/proallargtypes (bug #10122) In-reply-to: <20140424002211.GD12442@awork2.anarazel.de> References: <20140424002211.GD12442@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 24 Apr 2014 02:22:11 +0200" Date: Wed, 23 Apr 2014 20:37:33 -0400 Message-ID: <5394.1398299853@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Andres Freund writes: > 'trinque' on irc reported that "SELECT pg_catalog.pg_identify_object(oid, > integer, integer)'::regprocedure" doesn't work and Andrew Gierth noticed > it's because proargtypes doesn't match proallargtypes. Ugh, how annoying. > Surpringsly there's no regression check testing for that. Yeah, that's clearly an oversight :-( > sequence_parameters is wrong in 9.1+, identify_object in 9.3+. > Luckily neither is particularly important. It's really a pity that we > don't have infrastructure for fixing this like this :/. > Do we need a note in the release notes for fixing those functions? I think it's probably non-critical, especially since it took this long for anybody to notice. It's fortunate that the two bad cases are just integer vs oid --- if the types weren't binary-compatible then we'd have had bigger issues. What I'm inclined to do in the back branches is just correct the catalogs without bumping catversion (since we can't do that). At least installations initdb'd in future will have it right. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs