Re: [PATCH] plpythonu datatype conversion improvements

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] plpythonu datatype conversion improvements
Дата
Msg-id 1251751305.20938.10.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] plpythonu datatype conversion improvements  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [PATCH] plpythonu datatype conversion improvements  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On sön, 2009-08-16 at 02:44 +0300, Peter Eisentraut wrote:
> The remaining problem is that the patch loses domain checking on the
> return types, because some paths no longer go through the data type's
> input function.  I have marked these places as FIXME, and the regression
> tests also contain a failing test case for this.
>
> What's needed here, I think, is an API that takes a datum plus type
> information and checks whether the datum is valid within the domain.  I
> haven't found one that is exported, but maybe someone could give a tip.

Got that fixed now.  Updated patch is attached.  I will sleep over it,
but I think it's good to go.

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 8.5 release notes idea
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] Largeobject access controls