Re: Possible fault with resolve column name (plpgsql)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible fault with resolve column name (plpgsql)
Дата
Msg-id 1247653.1631822722@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible fault with resolve column name (plpgsql)  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: Possible fault with resolve column name (plpgsql)  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
Ranier Vilela <ranier.vf@gmail.com> writes:
> Found by llvm scan build.
> Argument with 'nonnull' attribute passed null pl/plpgsql/src/pl_comp.c
> resolve_column_ref

This is somewhere between pointless and counterproductive.  colname won't
be used unless the switch has set nnames_field (and the identified number
of names matches that).  If that logic somehow went wrong, I'd *want*
the later strcmp to dump core, not possibly give a false match.

            regards, tom lane



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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Possible fault with resolve column name (plpgsql)
Следующее
От: "Bossart, Nathan"
Дата:
Сообщение: Re: Estimating HugePages Requirements?