timescaledb/.unreleased/bugfix_5907
Konstantina Skovola 28612ebc3c Fix crash in 1-step integer policy creation
Previously when a retention policy existed on the underlying hypertable,
we would get a segmentation fault when trying to add a Cagg refresh
policy, due to passing a bool instead of pointer to bool argument to
function `ts_jsonb_get_int64_field` in a particular code path.
Fixed by passing the expected pointer type.

Fixes #5907
2023-08-02 17:17:52 +03:00

2 lines
57 B
Plaintext

Fixes: #5912 Fix crash in 1-step integer policy creation