Check for BuildIndexValueDescription returning NULL in gist_page_items
authorHeikki Linnakangas <[email protected]>
Mon, 18 Jan 2021 12:48:43 +0000 (14:48 +0200)
committerHeikki Linnakangas <[email protected]>
Mon, 18 Jan 2021 12:48:43 +0000 (14:48 +0200)
commit5d1e5c8b758770186b005a1c3888b05e37af79c5
tree009d2b2d12ac2b7ab79b2d647d4a8e89106fc5a1
parent15251c0a60be76eedee74ac0e94b433f9acca5af
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.
contrib/pageinspect/gistfuncs.c