Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pg_cron in distributed PostgreSQL system #313

Open
cwang9208 opened this issue Feb 29, 2024 · 1 comment
Open

Enable pg_cron in distributed PostgreSQL system #313

cwang9208 opened this issue Feb 29, 2024 · 1 comment

Comments

@cwang9208
Copy link

Hi, we are trying to deploy the pg_cron extension in Postgresql-xl, which is a distributed version of Postgresql. The question is how can we ensure there is only one scheduler running? Are there any suggestions?

@marcoslot
Copy link
Collaborator

As long as the cron.jobs table is local to a specific node, then jobs would only run on that node. That's the case in Citus at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants