Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types
Дата
Msg-id 11135.1497544300@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14706: Dependencies not recorded properly for basetypes  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: [BUGS] BUG #14706: Dependencies not recorded properly for basetypes  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Hmm. Strictly speaking there's no need to update the dependency when 
> changing opaque into cstring. Because cstring is a pinned type, 
> recordDependency will do nothing for it.

> But in any case, I think it'd be better and simpler to fix the 
> dependency in SetFunctionArgType() and SetFunctionReturnType() functions 
> themselves. They're the ones that change the type, they ought to be 
> responsible for fixing the dependency too. See attached.

Yeah, Heikki's version looks good to me.

Heikki, are you going to commit/backpatch this, or do you want me to?
        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

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

Предыдущее
От: 厚积薄发
Дата:
Сообщение: [BUGS] GIN index vacuum hang after pg_rman restore in PG9.2.21
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [BUGS] BUG #14706: Dependencies not recorded properly for basetypes