Re: RE: [GENERAL] pg_dump return status..

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: RE: [GENERAL] pg_dump return status..
Дата
Msg-id 3.0.5.32.20010105124013.025dfda0@mail.rhyme.com.au
обсуждение исходный текст
Ответ на RE: [GENERAL] pg_dump return status..  (Matthew <matt@ctlno.com>)
Список pgsql-hackers
At 19:14 4/01/01 -0600, Matthew wrote:
>I posted a note to the hackers list about this very issue last week.  It was
>never responded to.  I am prepared to do the work and submit a patch, but I
>wanted some input on how best to do it.  We had a problem with a backup
>script silently failing when the disk was full.  I guess I will get started
>on it and will get feedback on the patch when it's submitted.

7.0.2 and CVS seem to set $? for me...at least when I try to dump a
nonexistant DB, dump to a nonexistant location or dump to an area I have no
privs for. Also, the code looks like it does an exit(1) whenever there is
an error. Is there a Unix/C/shell interaction that's not working for you?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Matthew
Дата:
Сообщение: RE: [GENERAL] pg_dump return status..
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_dump return status..