Re: pg_dump return status..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pete Forman <pete(dot)forman(at)westerngeco(dot)com>
Cc: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump return status..
Date: 2001-01-08 15:32:16
Message-ID: 17721.978967936@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Pete Forman <pete(dot)forman(at)westerngeco(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-01-08 15:40:56 Re: Version 7.1 when??
Previous Message P.Siuda 2001-01-08 14:47:47 RE: Table msysconf

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-01-08 15:53:20 Re: Quite strange crash
Previous Message Pavel Janík ml. 2001-01-08 15:27:36 pgaccess and LIMIT?