2001-12-04 03:33:35 +08:00
|
|
|
=======================================================
|
2002-11-12 04:04:05 +08:00
|
|
|
Frequently Asked Questions (FAQ) for PostgreSQL
|
2001-12-04 03:33:35 +08:00
|
|
|
IRIX Specific
|
|
|
|
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
|
|
|
|
=======================================================
|
2007-10-29 06:30:21 +08:00
|
|
|
last updated: $Date: 2007/10/28 22:30:21 $
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
current maintainer: Luis Amigo (lamigo@atc.unican.es)
|
|
|
|
original author: Luis Amigo (lamigo@atc.unican.es)
|
|
|
|
|
|
|
|
|
|
|
|
Questions covered here:
|
|
|
|
1.1) What do I need to install PostgreSQL on IRIX?
|
|
|
|
1.2) Anything special about the build/install procedure?
|
|
|
|
1.3) OK, it seemed to build and install, but the regression test fails.
|
|
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
Section 1: Installing PostgreSQL
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
1.1) What do I need to install PostgreSQL on IRIX?
|
|
|
|
|
2007-10-29 06:30:21 +08:00
|
|
|
PostgreSQL has been run on MIPS r8000, r10000(both ip25 and ip27)
|
2001-12-04 03:33:35 +08:00
|
|
|
and r12000(ip35) processors, running IRIX 6.5.5m, 6.5.12 and 6.5.13 with
|
2007-10-29 06:30:21 +08:00
|
|
|
MIPSPro compilers version 7.30, 7.3.1.2m and 7.3. Newer versions can
|
|
|
|
be expected to work too (but see compiler note below).
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
Aside from the PostgreSQL source distribution, you will need GNU make
|
2001-12-20 02:50:48 +08:00
|
|
|
(SGI's make will not do), and the MIPSPro full ANSI C compiler.
|
2001-12-04 03:33:35 +08:00
|
|
|
|
2001-12-20 02:50:48 +08:00
|
|
|
There are problems trying to build with GCC. It is a known gcc bug
|
|
|
|
(not fixed as of version 3.0) related to using functions that return
|
|
|
|
certain kinds of structures. This bug affects functions like
|
|
|
|
inet_ntoa, inet_lnaof, inet_netof, inet_makeaddr and semctl. It is
|
|
|
|
supposed to be fixed by forcing code to link those functions with
|
|
|
|
libgcc, but this has not been tested yet.
|
2001-12-04 03:33:35 +08:00
|
|
|
|
2007-10-29 06:30:21 +08:00
|
|
|
It is known that version 7.4.1m of the MIPSPro compiler generates
|
|
|
|
incorrect code. (Symptom is "invalid primary checkpoint record"
|
|
|
|
when trying to start the database.) Version 7.4.4m is OK; the status
|
|
|
|
of intermediate versions is uncertain.
|
|
|
|
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
1.2) Anything special about the build/install procedure?
|
|
|
|
|
2002-11-12 04:04:05 +08:00
|
|
|
There may be a compilation problem like the following:
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
cc-1020 cc: ERROR File = pqcomm.c, Line = 427
|
|
|
|
The identifier "TCP_NODELAY" is undefined.
|
|
|
|
|
|
|
|
if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
|
|
|
|
|
|
|
|
Some versions include TCP definitions in <sys/xti.h>, so it is necessary to
|
2001-12-20 02:50:48 +08:00
|
|
|
add #include <sys/xti.h> in src/backend/libpq/pqcomm.c and in
|
|
|
|
src/interfaces/libpq/fe-connect.c.
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
1.3) OK, it seemed to build and install, but the regression test fails.
|
|
|
|
|
|
|
|
There are several "expected failures" due to differences between your platform
|
|
|
|
and the regression test reference platform used by the PostgreSQL group. All
|
|
|
|
of these should be compensated for by the regression test comparison
|
|
|
|
mechanism, with the possible exception of some low-order-digit differences in
|
2002-11-12 04:04:05 +08:00
|
|
|
the geometry tests (depending on which FPU are you using).
|
2001-12-04 03:33:35 +08:00
|
|
|
|
|
|
|
Any other error is cause for suspicion.
|