Re: mismatching proargtypes/proallargtypes (bug #10122)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: mismatching proargtypes/proallargtypes (bug #10122)
Дата
Msg-id 15349.1398302807@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: mismatching proargtypes/proallargtypes (bug #10122)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: mike@aquameta.com
Дата:
Сообщение: BUG #10122: proargtypes and proallargtypes are inconsistent for pg_identify_object
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #10122: proargtypes and proallargtypes are inconsistent for pg_identify_object