Обсуждение: BUG #18233: coerce_type accepts NULL as pstate and can pass it to coerce_record_to_complex

Поиск
Список
Период
Сортировка

BUG #18233: coerce_type accepts NULL as pstate and can pass it to coerce_record_to_complex

От
PG Bug reporting form
Дата:
The following bug has been logged on the website:

Bug reference:      18233
Logged by:          RekGRpth
Email address:      rekgrpth@gmail.com
PostgreSQL version: 16.1
Operating system:   all
Description:

coerce_type accepts NULL as pstate and can pass it to
coerce_record_to_complex, which passes it to GetNSItemByRangeTablePosn,
which dereferences it.


Re: BUG #18233: coerce_type accepts NULL as pstate and can pass it to coerce_record_to_complex

От
Tom Lane
Дата:
PG Bug reporting form <noreply@postgresql.org> writes:
> coerce_type accepts NULL as pstate and can pass it to
> coerce_record_to_complex, which passes it to GetNSItemByRangeTablePosn,
> which dereferences it.

Can you demonstrate any actual bug here?  If so, it's not
coerce_type's, which is clearly documented to allow NULL.

            regards, tom lane