From: Paul Förster <paul.foerster@gmail.com>
To: Henry Francisco Garcia Cortez <garcortez@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: pgagent
Date: Wed, 7 Oct 2020 07:56:43 +0200
Message-ID: <940B4814-2625-4A8D-A924-EF9748C0EC3B@gmail.com> (raw)
In-Reply-To: <CAJP2v3F-HpnRaU5V=_wTty_UNsQk+_-thY65ctOo-8oru5yJsA@mail.gmail.com>
References: <CAJP2v3F-HpnRaU5V=_wTty_UNsQk+_-thY65ctOo-8oru5yJsA@mail.gmail.com>
Hi Henry,
> On 06. Oct, 2020, at 23:46, Henry Francisco Garcia Cortez <garcortez@gmail.com> wrote:
>
> hello on pgadmin4 every five seconds this query repeat SELECT J.jobid FROM pgagent.pga_job J WHERE jobenabled AND jobagentid IS NULL AND jobnextrun <= now() AND (jobhostagent = '' OR jobhostagent = 'grafana') ORDER BY jobnextrun my problem is I enable logs of postgresql on log is written
maybe you take a look at your logging parameters. You may especially set:
log_statement = ddl # or none
log_min_messages = warning
log_min_error_statement = error
See: What to Log
https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT
Cheers,
Paul
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: pgsql-admin@postgresql.org
Cc: paul.foerster@gmail.com, garcortez@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: pgagent
In-Reply-To: <940B4814-2625-4A8D-A924-EF9748C0EC3B@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox