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

Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> 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.

> Argh!

On reflection it's not quite as bad as it seems: the correct signature of
the function is pg_identify_object(oid,oid,integer) and the regprocedure
code does accept that.  AFAICT the only readily visible effect of the bug
is that psql's \df lies about what the input argument datatypes are.

> Maybe we can provide an UPDATE to fix it in existing installations, for
> those interested in doing so.

Doubt it's worth the trouble really ...

			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)

Message-ID: <15349.1398302807@sss.pgh.pa.us>
Permalink:  ../15349.1398302807@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15349.1398302807@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, alvherre@2ndquadrant.com, andres@2ndquadrant.com
  Subject: Re: mismatching proargtypes/proallargtypes (bug #10122)
  In-Reply-To: <15349.1398302807@sss.pgh.pa.us>
  References: <20140424002211.GD12442@awork2.anarazel.de> <5394.1398299853@sss.pgh.pa.us> <20140424010600.GU25695@eldon.alvh.no-ip.org> <15349.1398302807@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