pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: pg_dump why no indicator of completion
Date: Mon, 1 May 2023 08:37:42 -0500
Message-ID: <a785e088-c58f-b030-1c2e-91dea610bcae@gmail.com> (raw)
In-Reply-To: <10EA4439-566E-412B-AF06-F4C04838C3A6@elevated-dev.com>
References: <CAGA3vBugp4Ce8ZbOfntb8HjCvo5QtX1hhAHj3iuCMZdzSTo4dg@mail.gmail.com>
	<f68e9f75-4036-30c7-6d10-72dce6521bb3@gmail.com>
	<CAGA3vBsq49mS47iH9CpCjipxu-BP_85x9doEHrvP5jyaPuNN4Q@mail.gmail.com>
	<B2494B4B-AE44-46AF-B4FC-D85374A145A7@elevated-dev.com>
	<CAGA3vBu5oxwKvefhx+e2TgAK_ZFx2T-dk5b28bfj6n+YCW=3qA@mail.gmail.com>
	<10EA4439-566E-412B-AF06-F4C04838C3A6@elevated-dev.com>

On 5/1/23 08:07, Scott Ribe wrote:
>> On May 1, 2023, at 7:01 AM, richard coleman <rcoleman.ascentgl@gmail.com> wrote:
>>
>> Which, running more than one command from the shell prompt in a single logon session, or not emitting an exit message?
> Running multiple long-lived processes in a shell prompt, whose exit values you care about, running in the background,

Exactly.  Cron is your friend!!!

> along with "a myriad of other commands", presumably short-lived, in the interim, then looking through "the flotsam and jetsam" for a success message. Sounds like a total mess. Put your important long-lived processesin their own sessions. Or, if you must interleave them, wrap the call to pg_dump in a simple conditional.

-- 
Born in Arizona, moved to Babylonia.





view thread (37+ messages)  latest in thread

Message-ID: <a785e088-c58f-b030-1c2e-91dea610bcae@gmail.com>
Permalink:  ../a785e088-c58f-b030-1c2e-91dea610bcae@gmail.com/
Also on:    postgresql.org/message-id/a785e088-c58f-b030-1c2e-91dea610bcae@gmail.com

 · 

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: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_dump why no indicator of completion
  In-Reply-To: <a785e088-c58f-b030-1c2e-91dea610bcae@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