mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-16 03:53:40 +00:00
From version 10, Postgresql does not allow set-returning functions in CASE statements. As we're using the functions recursively, we cannot use LATERAL as suggested in the error message, but we can switch the condition inside-out with only a limited amount of repetition.