Starting with version 11, PostgreSQL lacks built-in support for the RFC-5545 repeat rule format.
But there is its own extension pg_rrule . When you install it, you can request an Ical schedule as follows:
SELECT *
FROM unnest(
get_occurrences(
'FREQ=MONTHLY;INTERVAL=2'::rrule,
now(),
now() + '6 months'::interval
)
);
RRULE.
PS. , / . , , Google :-)