We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1605f9e commit 8094912Copy full SHA for 8094912
src/rum_ts_utils.c
@@ -1170,7 +1170,7 @@ rum_extract_tsvector_internal(TSVector vector,
1170
* uncompressed positions. So allocate memory with a margin.
1171
*/
1172
posDataSize = VARHDRSZ + 2 * posVec->npos * sizeof(WordEntryPos);
1173
- posData = (bytea *) palloc0(posDataSize);
+ posData = (bytea *) palloc(posDataSize);
1174
1175
posDataSize = compress_pos(posData->vl_dat, posVec->pos, posVec->npos) + VARHDRSZ;
1176
SET_VARSIZE(posData, posDataSize);
0 commit comments