mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 02:53:51 +08:00
Fix handling of non-reference counted TupleDescs in gapfill
Use ReleaseTupleDesc instead of DecrTupleDescRefCount in gapfill interpolate because the latter does not account for non-reference counted TupleDescs.
This commit is contained in:
parent
1eceee3151
commit
66f80d159b
@ -142,7 +142,7 @@ gapfill_fetch_sample(GapFillState *state, GapFillInterpolateColumnState *column,
|
||||
sample->value = datumCopy(value, column->base.typbyval, column->base.typlen);
|
||||
}
|
||||
|
||||
DecrTupleDescRefCount(tupdesc);
|
||||
ReleaseTupleDesc(tupdesc);
|
||||
}
|
||||
|
||||
/* Calculate the interpolation using numerics, returning the result as a numeric datum */
|
||||
|
Loading…
x
Reference in New Issue
Block a user