]> 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)
commit9db6650a5a66d75234a155b20e18c8dfd7e9c22b
treead0fb2ec1d5870fd478d127c74de422ad4c809c5
parentf3ab5d3a2d19aa9f7243cee6ecd7fec6a36c63c1
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