Re: pg_dump why no indicator of completion

From: Gavan Schneider <list(dot)pg(dot)gavan(at)pendari(dot)org>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Cc: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
Subject: Re: pg_dump why no indicator of completion
Date: 2023-05-01 01:08:03
Message-ID: E4332100-7DD9-4EA1-B98C-2E648F5480F6@pendari.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 1 May 2023, at 10:18, richard coleman wrote:

> Why doesn't pg_dump add a line in the output like:
>
> pg_backup finished
>
And, consider an option to include the MD5 and/or SHA256 checksum(s) for what should be on the file system.

> when it's completed successfully?
>
Or, more generally, the appropriate status

From a basic perspective we can expect the *nix shell to get a non-zero exit status for pg_dump in the event of failure, but this is not an explicit promise in the diagnostics section of my copy of the man entry (maybe too obvious :).

Regards
Gavan

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2023-05-01 03:28:27 Re: pg_dump why no indicator of completion
Previous Message richard coleman 2023-05-01 00:18:06 pg_dump why no indicator of completion