pgsql: Try and silence spurious Coverity warning. - Mailing list pgsql-committers

From Andrew Gierth
Subject pgsql: Try and silence spurious Coverity warning.
Date
Msg-id E1cvAZB-00056u-3f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Try and silence spurious Coverity warning.

gset_data (aka gd) in planner.c is always non-null if and only if
parse->groupingSets is non-null, but Coverity doesn't know that and
complains.  Feed it an assertion to see if that keeps it happy.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f5780935266bd72951c770396f9267366414d1b9

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Make header self-contained
Next
From: Robert Haas
Date:
Subject: pgsql: Properly acquire buffer lock for page-at-a-time hash vacuum.