]> granicus.if.org Git - postgresql/blob - doc/FAQ_IRIX
Create hooks to let a loadable plugin monitor (or even replace) the planner
[postgresql] / doc / FAQ_IRIX
1 =======================================================
2 Frequently Asked Questions (FAQ) for PostgreSQL
3 IRIX Specific
4 TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
5 =======================================================
6 last updated:           $Date: 2006/12/06 15:45:31 $
7
8 current maintainer:     Luis Amigo (lamigo@atc.unican.es)
9 original author:        Luis Amigo (lamigo@atc.unican.es)
10
11
12 Questions covered here:
13 1.1)    What do I need to install PostgreSQL on IRIX?
14 1.2)    Anything special about the build/install procedure?
15 1.3)    OK, it seemed to build and install, but the regression test fails.
16
17
18 ----------------------------------------------------------------------
19 Section 1:      Installing PostgreSQL
20 ----------------------------------------------------------------------
21
22 1.1)    What do I need to install PostgreSQL on IRIX?
23
24 PostgreSQL 7.2 has been run on MIPS r8000, r10000(both ip25 and ip27)
25 and r12000(ip35) processors, running IRIX 6.5.5m, 6.5.12 and 6.5.13 with
26 MIPSPro compilers version 7.30, 7.3.1.2m and 7.3. 
27
28 Aside from the PostgreSQL source distribution, you will need GNU make
29 (SGI's make will not do), and the MIPSPro full ANSI C compiler.
30
31 There are problems trying to build with GCC.  It is a known gcc bug
32 (not fixed as of version 3.0) related to using functions that return
33 certain kinds of structures. This bug affects functions like
34 inet_ntoa, inet_lnaof, inet_netof, inet_makeaddr and semctl.  It is
35 supposed to be fixed by forcing code to link those functions with
36 libgcc, but this has not been tested yet.
37
38
39 1.2)    Anything special about the build/install procedure?
40
41 There may be a compilation problem like the following:
42
43 cc-1020 cc: ERROR File = pqcomm.c, Line = 427
44   The identifier "TCP_NODELAY" is undefined.
45
46                 if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
47
48 Some versions include TCP definitions in <sys/xti.h>, so it is necessary to
49 add #include <sys/xti.h> in src/backend/libpq/pqcomm.c and in
50 src/interfaces/libpq/fe-connect.c.
51
52
53 1.3)    OK, it seemed to build and install, but the regression test fails.
54
55 There are several "expected failures" due to differences between your platform
56 and the regression test reference platform used by the PostgreSQL group.  All
57 of these should be compensated for by the regression test comparison
58 mechanism, with the possible exception of some low-order-digit differences in
59 the geometry tests (depending on which FPU are you using).
60
61 Any other error is cause for suspicion.