public inbox for [email protected]
help / color / mirror / Atom feedFrom: Florents Tselai <[email protected]>
To: Adam Brusselback <[email protected]>
Cc: Nikolay Samokhvalov <[email protected]>
Cc: Andrei Lepikhov <[email protected]>
Cc: Álvaro Herrera <[email protected]>
Cc: Dave Page <[email protected]>
Cc: Dmitry Dolgov <[email protected]>
Cc: Laurenz Albe <[email protected]>
Cc: Wang Cheng <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Proposal: Job Scheduler
Date: Sun, 1 Jun 2025 11:27:27 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMjNa7cj_t1+mh9Lx8W3Hobfqcn-S0D9J5BxuPpXeWr2mJzgLA@mail.gmail.com>
References: <CA+OCxowP067JcwXbtKTV=8Xh+grC+KLgHkL6POnYY0A92eVEoA@mail.gmail.com>
<[email protected]>
<sjagfbmbdmarpa6k7r3xf3o65as5onlbwje4uqhotsa4emknwh@5jdpe234pcs2>
<CAM527d_cOMW9jde9_2SE+LWOHNi+o7KBdNpLTPyy3XqwZCVQ1g@mail.gmail.com>
<[email protected]>
<CAM527d-9GANWpHspLGiCSWKo=dL5Uj__kHM1kJ84POcS=v0yYQ@mail.gmail.com>
<CAMjNa7cj_t1+mh9Lx8W3Hobfqcn-S0D9J5BxuPpXeWr2mJzgLA@mail.gmail.com>
> On 30 May 2025, at 5:24 PM, Adam Brusselback <[email protected]> wrote:
>
> Add me to the +1 for having a built-in scheduler. It's useful for plenty of things like automated partition creation (as noted), scheduling backups, index maintenance, batch processing jobs, etc...
>
> I wrote jpgAgent (compatible with pgAgent) ~10 years ago because pgAgent was too unstable (and the other scheduling tools hadn't come out yet), but I really wish I didn't have to deal with external tooling for features like this at all.
I could see an argument of adopting pg_cron as a contrib/ module to the core;
not only because it’s become the standard, but it’s a nice example of an extension using bgworker.
But having it in core? I don’t think so; It’s way beyond the scope of an RDBMS,
which already has transactions and SKIP LOCKED, and I think that’s as fast as it should go.
view thread (9+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: Proposal: Job Scheduler
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox