pgsql: Check for BuildIndexValueDescription returning NULL in gist_page - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Check for BuildIndexValueDescription returning NULL in gist_page
Date
Msg-id E1l1U61-0000TO-UH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Check for BuildIndexValueDescription returning NULL in gist_page_items

Per Coverity. BuildIndexValueDescription() cannot actually return NULL in
this instance, because it only returns NULL if the user doesn't have the
required privileges, and this function can only be used by superuser. But
better safe than sorry.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5d1e5c8b758770186b005a1c3888b05e37af79c5

Modified Files
--------------
contrib/pageinspect/gistfuncs.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Pause recovery for insufficient parameter settings
Next
From: Magnus Hagander
Date:
Subject: pgsql: Bump PGSTAT_FILE_FORMAT_ID