Re: pg_dump "what if?"

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: pg_dump "what if?"
Дата
Msg-id 200403261512.45727.scrawford@pinpointresearch.com
обсуждение исходный текст
Ответ на pg_dump "what if?"  (Peter Lang <peter.lang@shaw.ca>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with inserting into a triggerable table;
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: Native Win32 port - PLEASE!