Re: pg_dump "what if?" - Mailing list pgsql-general

From Steve Crawford
Subject Re: pg_dump "what if?"
Date
Msg-id 200403261512.45727.scrawford@pinpointresearch.com
Whole thread Raw
In response to pg_dump "what if?"  (Peter Lang <peter.lang@shaw.ca>)
List pgsql-general
On Wednesday 24 March 2004 10:59 am, Peter Lang wrote:
> I'm running pg_dump 7.3.4...<snip>...does anyone
> have any suggestions on another method to confirm whether or not
> the db was successfully dumped?
>
> BTW I'm running under Win2k using Cygwin.

Normally you can check the exit status of the command. In bash you
might use:
pg_dump.....
if [ $? -ne 0 ]
then
  # report the error
fi

Don't know if there are any problems getting the exit status in
cygwin, though.

Cheers,
Steve


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Problem with inserting into a triggerable table;
Next
From: Jeff Eckermann
Date:
Subject: Re: Native Win32 port - PLEASE!