Re: actualised funcs typmod patch

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: actualised funcs typmod patch
Дата
Msg-id 162867790911121939i69a3be2al7a222574336c5f6b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: actualised funcs typmod patch  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hello

I am sorry. I'll send a actualised version today.

Pavel

2009/11/13 Alvaro Herrera <alvherre@commandprompt.com>:
> Pavel Stehule escribió:
>> Hello
>>
>> actualised version: enhance check inside sql function
>
> What is this against?  It has a few suspicious chunks, such as
>
> ***************
> *** 358,364 ****
>
>                funcexpr->funcid = funcid;
>                funcexpr->funcresulttype = rettype;
> !               funcexpr->funcresulttypmod = -1;  // TODO STEHULE
>                funcexpr->funcretset = retset;
>                funcexpr->funcformat = COERCE_EXPLICIT_CALL;
>                funcexpr->args = fargs;
> --- 365,371 ----
>
>                funcexpr->funcid = funcid;
>                funcexpr->funcresulttype = rettype;
> !               funcexpr->funcresulttypmod = rettypmod;
>                funcexpr->funcretset = retset;
>                funcexpr->funcformat = COERCE_EXPLICIT_CALL;
>                funcexpr->args = fargs;
>
>
>
> This ended up in ./src/backend/parser/parse_func.c.rej
>
> There are other rejects and I'm not sure if I should fix them (at least
> the first couple look trivial, though it's against a bunch of code
> that last changed in Aug. last year) or ask for a better version ...
>
> --
> Alvaro Herrera                                http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>


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

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: TRIGGER with WHEN clause
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: Listen / Notify rewrite