summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBruce Momjian2000-02-23 15:46:15 +0000
committerBruce Momjian2000-02-23 15:46:15 +0000
commitc969e2662fd7cdb5521c1570082c6b55b5ce6e89 (patch)
tree8531ee8c2cdec45eca1e386e1721c1fe3cd8f8c4 /src/test
parent020be62dea73a50ee5105d56633f8bb2f6722bb9 (diff)
1. miscadmin.h needs to include sys/types.h for a definition of pid_t
2. Regression tests fail for types int2 and int4 (which can easily be fixed by adding entries to resultmap) aswell as float8 and geometry, where floating point numbers appear to be rounded a little differently than in your expected results (besides that I also need the positive zeros file). I'm including a patch for the first 2, but I don't know whether the latter two are actually a bug in postgres or a bug in the OS or even allowed difference. I'm including my results for reference. Rolf Grossmann
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/resultmap5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/regress/resultmap b/src/test/regress/resultmap
index 94aea1471ca..c025681d386 100644
--- a/src/test/regress/resultmap
+++ b/src/test/regress/resultmap
@@ -2,15 +2,20 @@ int2/hppa=int2-too-large
int4/hppa=int4-too-large
int2/.*-netbsd=int2-too-large
int4/.*-netbsd=int4-too-large
+int2/.*-freebsd=int2-too-large
+int4/.*-freebsd=int4-too-large
int2/i.86-pc-linux-gnulibc=int2-not-representable
int4/i.86-pc-linux-gnulibc=int4-not-representable
int2/sparc-sun-solaris=int2-too-large
int4/sparc-sun-solaris=int4-too-large
geometry/hppa=geometry-positive-zeros
geometry/.*-netbsd=geometry-positive-zeros
+geometry/.*-freebsd=geometry-positive-zeros
geometry/i.86-.*-gnulibc=geometry-i86-gnulibc
geometry/sparc-sun-solaris=geometry-solaris-precision
horology/hppa=horology-no-DST-before-1970
horology/sparc-sun-solaris=horology-solaris-1947
abstime/sparc-sun-solaris=abstime-solaris-1947
tinterval/sparc-sun-solaris=tinterval-solaris-1947
+#include <sys/types.h> /* For pid_t */
+