Re: pg_dump return status.. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump return status..
Date
Msg-id 17721.978967936@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump return status..  (Pete Forman <pete.forman@westerngeco.com>)
List pgsql-hackers
Pete Forman <pete.forman@westerngeco.com> writes:
> Philip Warner writes:
>> All I need to know is how to detect an error. Does it return EOF on
>> error?

> The standard sprintf() returns a negative int on error.

I thought we were talking about fprintf.  sprintf can't really detect
any errors anyway, except maybe a bad format string.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: heap_update is broken in current sources
Next
From: Tom Lane
Date:
Subject: Re: Quite strange crash