Re: [HACKERS] PostgreSQL 6.5.2 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] PostgreSQL 6.5.2
Date
Msg-id 199910012011.QAA04954@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] PostgreSQL 6.5.2  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
Responses Re: [HACKERS] PostgreSQL 6.5.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> wieck@debis.com
> >[pgsql@hot] ~/devel/src/test/regress > ./checkresults
> >======   int2   ======
> >10c10
> >< ERROR:  pg_atoi: error reading "100000": Numerical result out of range
> >---
> >> ERROR:  pg_atoi: error reading "100000": Math result not representable
> >======   int4   ======
> >10c10
> >< ERROR:  pg_atoi: error reading "1000000000000": Numerical result out of range
> >---
> >> ERROR:  pg_atoi: error reading "1000000000000": Math result not representable
> >[pgsql@hot] ~/devel/src/test/regress >

I am inclined to strip off error messages after the second : and the do
the compare so:
ERROR:  pg_atoi: error reading "1000000000000": Math result not representa..


becomes:
ERROR:  pg_atoi: error reading "1000000000000":

They we just have to make sure all calls to perror have a colon before
them.


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Keith Parks
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.2
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.2