Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)
Дата
Msg-id AANLkTinycHZYdA9oK3SOgCJ9ERy7rZbrheq0IRThK2Ux@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
2010/5/31 Bruce Momjian <bruce@momjian.us>:
> Pavel Stehule wrote:
>> 2010/4/15 Tom Lane <tgl@sss.pgh.pa.us>:
>> > Pavel Stehule <pavel.stehule@gmail.com> writes:
>> >> I think, so RETURNS TABLE can be modified for returning typmode
>> >> without significant problems - this function is called in table
>> >> context and I don't see any problematic use case.
>> >
>> > RETURNS TABLE is just a shorthand for some OUT parameters. ?I don't
>> > believe it's either easy or a good idea to make it work differently
>> > from every other function-argument-or-result case.
>> >
>>
>> I don't know now. It minimally have to be documented
>
> Can you suggest some documentation?

some like "typmod in declared parameters are ignored - so returned
table can not be  same as table declared by CREATE STATEMENT."

Pavel

>
> --
> =C2=A0Bruce Momjian =C2=A0<bruce@momjian.us> =C2=A0 =C2=A0 =C2=A0 =C2=A0h=
ttp://momjian.us
> =C2=A0EnterpriseDB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://enterprisedb.com
>
> =C2=A0+ None of us is going to be here forever. +
>
>

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

Предыдущее
От: Takahiro Itagaki
Дата:
Сообщение: Re: BUG #5487: dblink failed with 63 bytes connection names
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #5487: dblink failed with 63 bytes connection names