Re: [HACKERS] Regression output - Mailing list pgsql-hackers

From Martin J. Laubach
Subject Re: [HACKERS] Regression output
Date
Msg-id 2723589f96f8f64dbdf63c1103bf5df3
Whole thread Raw
In response to [HACKERS] Regression output  (Sean Lyndersay <lynders@hcs.harvard.edu>)
List pgsql-hackers
> Different math libraries return different error strings.  There really
> is no way to patch it.

  Hmm, if that is the problem, can't we build a little program that
just produces all the error strings and stuffs them somewhere the
regression test can find them?

  Something like

    float a = MAXFLOAT + 1;
    fprintf(somewhere, "OVERFLOW = %s\n", errstr[errno]);

  and the regression test pick them up and patch their expected files?

    mjl

------------------------------

pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] optimizer, again...
Next
From: "Martin J. Laubach"
Date:
Subject: Re: [HACKERS] Isn't Purify great? :)