Hackers,
We are the PostgreSQL team in Tencent. We have recently developed a job scheduler that runs inside the database to schedules and manages jobs similar to Oracle DBMS_JOB package, and we would like to contribute this feature to the community.
Similar to autovacuum, the job scheduler consists of 2 parts: the job launcher and the job worker. The job launcher periodically scans a metadata table and signals the postmaster to start new workers if needed.
That's why we have developed the job scheduler that runs as a process inside the database just like autovacuum.
We can start to send the patch if this idea makes sense to the you. Thanks for your time.