Suppress Coverity warnings about Asserts in get_name_for_var_field.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 16e67bc5f98f2f5691fb5c01d5a8310de1c62b81
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-08-11T16:24:56Z
Releases: 15.9
Suppress Coverity warnings about Asserts in get_name_for_var_field.

Coverity thinks dpns->plan could be null at these points.  That
shouldn't really be possible, but it's easy enough to modify the
Asserts so they'd not core-dump if it were true.

These are new in b919a97a6.  Back-patch to v13; the v12 version
of the patch didn't have these Asserts.

Files

PathChange+/−
src/backend/utils/adt/ruleutils.c modified +5 −5