Re: [HACKERS] PostgreSQL 6.5.2

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
Cc: wieck(at)debis(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PostgreSQL 6.5.2
Date: 1999-10-01 20:11:28
Message-ID: 199910012011.QAA04954@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> wieck(at)debis(dot)com
> >[pgsql(at)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(at)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-10-01 21:32:12 Re: [HACKERS] PostgreSQL 6.5.2
Previous Message Keith Parks 1999-10-01 19:02:54 Re: [HACKERS] PostgreSQL 6.5.2