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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: fix: plpgsql: return query and dropped columns problem
Дата
Msg-id 20090720150914.GK4938@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: fix: plpgsql: return query and dropped columns problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: fix: plpgsql: return query and dropped columns problem
Список pgsql-bugs
Tom Lane escribió:
> Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> > this one applies, compiles and it actually fixes the bug...
>
> And introduces a bunch of new ones.  Surely you don't think that version
> of compatible_tupdesc() is good enough.

Getting rid of the check on natts was "ungood" ... it needs to compare
the number of undropped columns of both tupdescs.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: fix: plpgsql: return query and dropped columns problem
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: fix: plpgsql: return query and dropped columns problem