]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit16e67bc5f98f2f5691fb5c01d5a8310de1c62b81
tree2cd7a6e21a12a615c3668fa807fcd1cb8ec3b6dd
parent2f4e895be76044fc09bdf96617043c94a12079e7
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