Hi.
Per Coverity.
964 ptup = SearchSysCacheAttName(relid, attname);
CID 1545986: (#1 of 1): Dereference null return value (NULL_RETURNS)
4. dereference: Dereferencing ptup, which is known to be NULL.
The functions SearchSysCacheAttNum and SearchSysCacheAttName,
need to have the result checked.
The commit
5091995, left an oversight.
Fixed by the patch attached, a change of style, unfortunately, was necessary.
best regards,
Ranier Vilela