Re: pgsql: Add comments about why errno is set to zero.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add comments about why errno is set to zero.
Date: 2005-12-01 20:53:34
Message-ID: 16974.1133470414@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

momjian(at)postgresql(dot)org (Bruce Momjian) writes:
> Log Message:
> -----------
> Add comments about why errno is set to zero.

These comments seem a bit wrongheaded, since "checking
LONG_MIN/LONG_MAX" is exactly not what we could do to detect an overflow
error.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-12-01 21:00:15 Re: [COMMITTERS] pgsql: Add comments about why errno is set to zero.
Previous Message Tom Lane 2005-12-01 20:24:49 pgsql: Retry in FileRead and FileWrite if Windows returns

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-12-01 20:54:42 Re: generalizing the planner knobs
Previous Message Bruce Momjian 2005-12-01 20:50:06 Re: [HACKERS] Strange interval arithmetic