From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Suppress Coverity warnings about Asserts in get_name_for_var_fie
Date: Sun, 11 Aug 2024 16:25:07 +0000
Message-ID: <E1sdBNT-003jKm-LF@gemulon.postgresql.org> (raw)
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.
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/bc5446a2189309460e14191771817954e17e12ff
Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Suppress Coverity warnings about Asserts in get_name_for_var_fie
In-Reply-To: <E1sdBNT-003jKm-LF@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox