Fix crash/valgrind error

Peter Eisentraut <peter@eisentraut.org>

Commit: ee1ae8b99f964ca1edc038dd558e541832164d52
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-04-04T12:45:53Z
Releases: 18.0
Fix crash/valgrind error

Fix for commit 9ef1851685b: We have to skip indexes where sortopfamily
is NULL.  This takes the place of the previous btree check.  Detected
by valgrind on the buildfarm.

Files

PathChange+/−
src/backend/utils/adt/selfuncs.c modified +4 −0