mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-14 09:37:00 +08:00
The equality comparison function is called using `DirectFunctionCall2Coll`, which do not set the `fcinfo->flinfo` when calling the PostgreSQL function. Since `array_eq` uses `fcinfo->flinfo->fn_extra` for caching, and `flinfo` is null, this causes a crash. Fix this issue by using `FunctionCall2Coll` instead, which sets `fcinfo->flinfo` before calling the PostgreSQL function. Fixes #5981
3 lines
122 B
Plaintext
3 lines
122 B
Plaintext
Fixes: #5991 Call eq_func correctly in time_bucket_gapfill
|
|
Thanks: @willsbit for reporting a crash in time_bucket_gapfill
|