pgsql: Try and silence spurious Coverity warning.

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема pgsql: Try and silence spurious Coverity warning.
Дата
Msg-id E1cvAZB-00056u-3f@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Make header self-contained
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Properly acquire buffer lock for page-at-a-time hash vacuum.