diff --git a/src/chunk_index.c b/src/chunk_index.c index 484219b8acf..1bcd2408887 100644 --- a/src/chunk_index.c +++ b/src/chunk_index.c @@ -598,7 +598,7 @@ chunk_lock_object_for_deletion(ObjectAddress *obj) * If we cannot find the object, it might have been concurrently deleted * (we do not have locks on objects yet). */ - if (!relkind) + if (relkind == '\0') return false; if (relkind == RELKIND_INDEX) {