pgAgent Jobs on replica

Поиск
Список
Период
Сортировка
От Greg Bryant
Тема pgAgent Jobs on replica
Дата
Msg-id SJ0PR05MB72472A1660C81FF0E604C4E6AB459@SJ0PR05MB7247.namprd05.prod.outlook.com
обсуждение исходный текст
Ответы Re: pgAgent Jobs on replica  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support

I have several pgAgent jobs that run on the ‘master’ database.  They fail on the replica since it’s a ‘read-only’ connection.  I’m creating a couple jobs to run some bash scripts but I don’t want them to run on the replica server.

 

Is there a way to prevent pgAgent jobs from executing on the replica server?  Wrap all the jobs in an ‘if’ statement to check if the server is in_recovery?  Disable the daemon on the replica server?

 

I’m currently running PostgreSQL 11 with pgAgent 4.

 

Thanks,

Greg

 

Sent from Mail for Windows 10

 

В списке pgadmin-support по дате отправления:

Предыдущее
От: Julien de Murcia
Дата:
Сообщение: Re: Error while starting PgAdmin 5.0
Следующее
От: Idowu Odujobi
Дата:
Сообщение: The pgAdmin 4 server could not be contacted: