diff --git a/src/common/backend/utils/cache/relcache.cpp b/src/common/backend/utils/cache/relcache.cpp index 2dda00a34..7a962f7f6 100644 --- a/src/common/backend/utils/cache/relcache.cpp +++ b/src/common/backend/utils/cache/relcache.cpp @@ -7906,7 +7906,7 @@ void SetupPageCompressForRelation(RelFileNode* node, PageCompressOpts* compress_ relationName))); } - uint1 preallocChunks; + uint1 preallocChunks = 0; if (compress_options->compressPreallocChunks >= BLCKSZ / compress_options->compressChunkSize) { ereport(ERROR, (errmsg("invalid compress_prealloc_chunks %d , must be less than %d for %s", compress_options->compressPreallocChunks,