Closed veragini closed 1 year ago
Just spotted that it seems to be fixed from the master branch https://github.com/zalando/spilo/blob/master/postgres-appliance/scripts/post_init.sh#L54 which that was probably done post to the latest release from here https://github.com/zalando/spilo/releases/tag/3.0-p1
Am I correct ?
Closed the issue as it refers to the same reported https://github.com/zalando/spilo/pull/863
I will assume I need to clone the master branch and build the image by myself instead of pulling the latest 3.0-p1
Thanks
Hi Team,
Am I making a mistake or is there something we need to fix in the cron session of https://github.com/zalando/spilo/blob/master/postgres-appliance/scripts/post_init.sh ?
It is happing with Postgres 15.02 over 3.0-p1
Our postgres.yml calls on_role_changes.sh which calls the post_init.sh script
Even though I am setting pg_cron in the boostrap postgres section (in the yml file), it does not get created so causing the following error. But if I then manually create the pg_cron extension, next docker(container) restart of the leader, it doesn't show up the following error.
Is there any correlation to the schema, pg_cron should be installed? PS. I will continue looking into it. but thought to share it here too.
Part of the log error:
Thanks,