Suppress Coverity warnings about Asserts in get_name_for_var_field.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Aug 2024 16:24:56 +0000 (12:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Aug 2024 16:24:56 +0000 (12:24 -0400)
commitbc5446a2189309460e14191771817954e17e12ff
treee94a038fe387307015acf40e6e454bd49cf65f1c
parent546a26b3d8df771624163e7338f281ff8313a8b9
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.
src/backend/utils/adt/ruleutils.c