Re: fix: plpgsql: return query and dropped columns problem

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: fix: plpgsql: return query and dropped columns problem
Дата
Msg-id 3073cc9b0907192358uacfb181r43949c79f51ae7cf@mail.gmail.com
обсуждение исходный текст
Ответ на fix: plpgsql: return query and dropped columns problem  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: fix: plpgsql: return query and dropped columns problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Sun, Jul 12, 2009 at 10:28 AM, Pavel Stehule<pavel.stehule@gmail.com> wrote:
> Hello
>
> there is fix for bug Re: [BUGS] BUG #4907: stored procedures and changed tables
>

this one applies, compiles and it actually fixes the bug...
it should be backpatched until 8.3... but applies cleanly only until
8.4 (what a surprise), attached is an adapted version for 8.3

the only thing that is bothered me is that the same solution is used
again and again... seems like we can use a function like
make_tuple_from_row (maybe something like make_tuple_from_datum or
eliminate_dropped_cols_from_tuple or something like that) for avoiding
duplicate code... but that's another patch, is worth the trouble?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug or simply not enough stack space?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: fix: plpgsql: return query and dropped columns problem