pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: mismatching proargtypes/proallargtypes (bug #10122)
Date: Wed, 23 Apr 2014 20:37:33 -0400
Message-ID: <5394.1398299853@sss.pgh.pa.us> (raw)
In-Reply-To: <20140424002211.GD12442@awork2.anarazel.de>
References: <20140424002211.GD12442@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@2ndquadrant.com> 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



view thread (4+ messages)  latest in thread

Message-ID: <5394.1398299853@sss.pgh.pa.us>
Permalink:  ../5394.1398299853@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5394.1398299853@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@2ndquadrant.com
  Subject: Re: mismatching proargtypes/proallargtypes (bug #10122)
  In-Reply-To: <5394.1398299853@sss.pgh.pa.us>
  References: <20140424002211.GD12442@awork2.anarazel.de> <5394.1398299853@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox