Re: pg_dump why no indicator of completion - Mailing list pgsql-admin

From richard coleman
Subject Re: pg_dump why no indicator of completion
Date
Msg-id CAGA3vBsSv+Dt=h2tGWUHFkqRT-RyC+h=yZz43t9nAhr6qyLBAA@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump why no indicator of completion  (Tim <timfosho@gmail.com>)
List pgsql-admin
Tim, 

Thanks, but as I had previously mentioned, I had already taken care of that little detail.

rik.

On Mon, May 1, 2023 at 11:22 PM Tim <timfosho@gmail.com> wrote:
 > After reading the responses in this thread I've adjusted it to capture the exit status

Just so I'm not a complete troll, heres your example which also appends a success/fail message :)

nohup $(pg_dump ${connection_details} > something.log 2>&1 && echo "pgdump succeded" >> something.log || echo "pgdump failed" something.log) &


pgsql-admin by date:

Previous
From: Ron
Date:
Subject: Re: pg_dump why no indicator of completion
Next
From: Sergey Cherevko
Date:
Subject: iso-8859-1 postgres ssl error "could not accept SSL connection: Success" and timeout