Re: why does plperl cache functions using just a bool for is_trigger

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: why does plperl cache functions using just a bool for is_trigger
Дата
Msg-id 4CCDAEC9.6030504@dunslane.net
обсуждение исходный текст
Ответ на Re: why does plperl cache functions using just a bool for is_trigger  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: why does plperl cache functions using just a bool for is_trigger  (Alex Hunsaker <badalex@gmail.com>)
Список pgsql-hackers

On 10/31/2010 11:44 AM, Tom Lane wrote:
> Jan Urbański<wulczer@wulczer.org>  writes:
>> Seems that this circumverts some output conversion error checking, since
>> adding the attached to the regression suite results in a segfault during
>> the plperl installcheck.
>> Reverting 2d01ec0708d571eef926f3f5795aa73759df5d9a fixes it.
> Good catch, patch reverted (and regression test added).

Well, I guess that answers the question of why we needed it, which 
nobody could answer before. I'm not sure I exactly understand what's 
going on here, though - I guess I need to look at it closer. At least I 
think we need a code comment on why the trigger flag is needed as part 
of the hash key.

cheers

andrew


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: ALTER OBJECT any_name SET SCHEMA name
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: ALTER OBJECT any_name SET SCHEMA name