The following bug has been logged on the website:
Bug reference: 18233
Logged by: RekGRpth
Email address: rekgrpth(at)gmail(dot)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.