mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-28 01:30:29 +08:00
Fix index attribute in invalidation scan
When setting up an index scan for invalidations, a table attribute number was used instead of the corresponding index attribute number. While the attribute numbers happened to be the same, it isn't future proof to use the wrong attribute reference.
This commit is contained in:
parent
fb4fec1834
commit
5f31fa53b3
@ -686,7 +686,7 @@ cagg_invalidations_scan_by_hypertable_init(ScanIterator *iterator, int32 cagg_hy
|
||||
CONTINUOUS_AGGS_MATERIALIZATION_INVALIDATION_LOG_IDX);
|
||||
ts_scan_iterator_scan_key_init(
|
||||
iterator,
|
||||
Anum_continuous_aggs_materialization_invalidation_log_materialization_id,
|
||||
Anum_continuous_aggs_materialization_invalidation_log_idx_materialization_id,
|
||||
BTEqualStrategyNumber,
|
||||
F_INT4EQ,
|
||||
Int32GetDatum(cagg_hyper_id));
|
||||
|
Loading…
x
Reference in New Issue
Block a user