public inbox for [email protected]  
help / color / mirror / Atom feed
From: Keith Christian <[email protected]>
To: Jean-Christophe Boggio <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: Looking for a linux tool to automate PG admin tasks
Date: Thu, 16 Oct 2025 07:24:12 -0600
Message-ID: <CAFWoy7FrE1CB+oTbhcpdzMfQ81AxzJjwXXqxKt-zD314T6C9PA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Expect comes to mind.
I've automated many CLI based systems with it.
------Keith



On Thu, Oct 16, 2025, 07:17 Jean-Christophe Boggio <
[email protected]> wrote:

> Hello,
> I have several servers with many databases on them for different
> applications.
> I need to execute some tasks on some databases depending on some criteria.
>
> For example, execute query xxx but only on databases where table
> public.sometable exists or if number of rows in table yyy is > 1M.
> Before reinventing the wheel with ugly bash scripts, do you know of some
> tools that would suit my case ?
> Some tasks will have to execute periodically (with crons probably) and
> others will be one-off.
> CLI tools if possible because I'm working remotely on those servers of
> course.
> Thanks,
> JC
>
>
>
>


reply

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Looking for a linux tool to automate PG admin tasks
  In-Reply-To: <CAFWoy7FrE1CB+oTbhcpdzMfQ81AxzJjwXXqxKt-zD314T6C9PA@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox