Share via

Azure Database for PostgreSQL flexible server: extension pg_cron error

Alessandro Vernile 20 Reputation points
2025-07-16T13:17:57.0833333+00:00

"Connection failed" error when a task scheduled with pg_cron is triggered

Azure Database for PostgreSQL

Answer accepted by question author

Saraswathi Devadula 16,025 Reputation points Microsoft External Staff Moderator
2025-07-16T15:45:12.1466667+00:00

Hello Alessandro Vernile

Based on our discussion, there's a known issue with version 17 that prevents in running the cron job. This bug is expected to be resolved in the upcoming deployment.

In the meantime, I kindly request you to create the server using version 16 or earlier.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2025-10-09T15:19:34.0533333+00:00

    Hi!
    We seem to have hit this problem with PostgreSQL v17.5 on an Azure PostgreSQL Flexible DB Server.
    Do we know if this will be fixed in the new 17.6 minor version upgrade?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.