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

From Martin J. Laubach
Subject Re: [HACKERS] Regression output
Date
Msg-id ae3f21ceb04f1925efecdcf0420cee08
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: Bruce Momjian
Date:
Subject: [HACKERS] 6.1 issues resolved
Next
From: "Vadim B. Mikheev"
Date:
Subject: fixed: Re: [HACKERS] Bug in CREATE TABLE