head	1.8;
access;
symbols
	REL7_4_29:1.3
	REL8_0_25:1.3
	REL8_1_21:1.3
	REL8_2_17:1.3.12.10
	REL8_3_11:1.7
	REL7_4_28:1.3
	REL8_0_24:1.3
	REL8_1_20:1.3
	REL8_2_16:1.3.12.10
	REL8_3_10:1.7
	REL7_4_27:1.3
	REL8_0_23:1.3
	REL8_1_19:1.3
	REL8_2_15:1.3.12.10
	REL8_3_9:1.7
	REL7_4_26:1.3
	REL8_0_22:1.3
	REL8_1_18:1.3
	REL8_2_14:1.3.12.10
	REL8_3_8:1.7
	REL7_4_25:1.3
	REL8_0_21:1.3
	REL8_1_17:1.3
	REL8_2_13:1.3.12.10
	REL8_3_7:1.7
	REL7_4_24:1.3
	REL8_0_20:1.3
	REL8_1_16:1.3
	REL8_2_12:1.3.12.10
	REL8_3_6:1.7
	REL7_4_23:1.3
	REL8_0_19:1.3
	REL8_1_15:1.3
	REL8_2_11:1.3.12.10
	REL8_3_5:1.7
	REL7_4_22:1.3
	REL8_0_18:1.3
	REL8_1_14:1.3
	REL8_2_10:1.3.12.10
	REL8_3_4:1.7
	REL7_4_21:1.3
	REL8_0_17:1.3
	REL8_1_13:1.3
	REL8_2_9:1.3.12.10
	REL8_3_3:1.7
	REL7_4_20:1.3
	REL8_0_16:1.3
	REL8_1_12:1.3
	REL8_2_8:1.3.12.10
	REL8_3_2:1.7
	REL8_2_7:1.3.12.10
	REL8_3_1:1.7
	REL8_3_STABLE:1.7.0.2
	REL8_3_0:1.7
	REL8_3_RC2:1.7
	REL7_3_21:1.2.4.5
	REL7_4_19:1.3
	REL8_0_15:1.3
	REL8_1_11:1.3
	REL8_2_6:1.3.12.10
	REL8_3_RC1:1.7
	REL8_3_BETA4:1.7
	REL8_3_BETA3:1.7
	REL8_3_BETA2:1.5
	REL8_3_BETA1:1.5
	REL7_3_20:1.2.4.5
	REL7_4_18:1.3
	REL8_0_14:1.3
	REL8_1_10:1.3
	REL8_2_5:1.3.12.10
	REL7_3_19:1.2.4.5
	REL7_4_17:1.3
	REL8_0_13:1.3
	REL8_1_9:1.3
	REL8_2_4:1.3.12.7
	REL8_0_12:1.3
	REL8_1_8:1.3
	REL8_2_3:1.3.12.6
	REL7_3_18:1.2.4.5
	REL7_4_16:1.3
	REL8_0_11:1.3
	REL8_1_7:1.3
	REL8_2_2:1.3.12.4
	REL8_0_10:1.3
	REL8_1_6:1.3
	REL8_2_1:1.3.12.3
	REL7_4_15:1.3
	REL7_3_17:1.2.4.5
	REL8_2_STABLE:1.3.0.12
	REL8_2_0:1.3
	REL8_2_RC1:1.3
	REL8_2_BETA3:1.3
	REL8_2_BETA2:1.3
	REL8_1_5:1.3
	REL8_0_9:1.3
	REL7_4_14:1.3
	REL7_3_16:1.2.4.5
	REL8_2_BETA1:1.3
	REL7_3_15:1.2.4.5
	REL7_4_13:1.3
	REL8_0_8:1.3
	REL8_1_4:1.3
	REL7_3_14:1.2.4.5
	REL7_4_12:1.3
	REL8_0_7:1.3
	REL8_1_3:1.3
	REL7_3_13:1.2.4.5
	REL7_4_11:1.3
	REL8_0_6:1.3
	REL8_1_2:1.3
	REL7_3_12:1.2.4.5
	REL7_4_10:1.3
	REL8_0_5:1.3
	REL8_1_1:1.3
	REL8_1_STABLE:1.3.0.10
	REL8_1_0:1.3
	REL8_1_0RC1:1.3
	REL8_1_0BETA4:1.3
	REL8_1_0BETA3:1.3
	REL7_3_11:1.2.4.5
	REL7_4_9:1.3
	REL8_0_4:1.3
	REL8_1_0BETA2:1.3
	REL8_1_0BETA1:1.3
	REL7_2_8:1.2
	REL7_3_10:1.2.4.5
	REL7_4_8:1.3
	REL8_0_3:1.3
	REL8_0_2:1.3
	REL7_2_7:1.2
	REL7_3_9:1.2.4.5
	REL7_4_7:1.3
	REL8_0_1:1.3
	REL8_0_STABLE:1.3.0.8
	REL8_0_0:1.3.0.6
	REL8_0_0RC5:1.3
	REL8_0_0RC4:1.3
	REL8_0_0RC3:1.3
	REL8_0_0RC2:1.3
	REL8_0_0RC1:1.3
	REL8_0_0BETA5:1.3
	REL8_0_0BETA4:1.3
	REL7_4_6:1.3
	REL7_3_8:1.2.4.5
	REL7_2_6:1.2
	REL8_0_0BETA3:1.3
	REL8_0_0BETA2:1.3
	REL7_2_5:1.2
	REL7_4_5:1.3
	REL7_3_7:1.2.4.5
	REL7_4_4:1.3
	REL8_0_0BETA1:1.3
	REL7_4_3:1.3
	REL7_4_2:1.3
	REL7_3_6:1.2.4.5
	REL7_4_1:1.3
	REL7_3_5:1.2.4.5
	REL7_4:1.3
	REL7_4_RC2:1.3
	REL7_4_STABLE:1.3.0.4
	REL7_4_RC1:1.3
	REL7_4_BETA5:1.3
	REL7_4_BETA4:1.3
	REL7_4_BETA3:1.3
	REL7_4_BETA2:1.3
	WIN32_DEV:1.3.0.2
	REL7_4_BETA1:1.3
	REL7_3_4:1.2.4.5
	REL7_3_2:1.2.4.3
	REL7_2_4:1.2
	REL7_3_STABLE:1.2.0.4
	REL7_2_3:1.2
	REL7_2_STABLE:1.2.0.2
	REL7_2:1.2
	REL7_2_RC2:1.2
	REL7_2_RC1:1.2
	REL7_2_BETA5:1.2
	REL7_2_BETA4:1.1;
locks; strict;
comment	@# @;


1.8
date	2008.11.21.16.46.19;	author petere;	state dead;
branches;
next	1.7;

1.7
date	2007.10.28.22.33.25;	author tgl;	state Exp;
branches;
next	1.6;

1.6
date	2007.10.28.22.30.21;	author tgl;	state Exp;
branches;
next	1.5;

1.5
date	2006.12.06.15.45.31;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	2006.12.05.14.47.34;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.11.20.04.05;	author petere;	state Exp;
branches
	1.3.12.1;
next	1.2;

1.2
date	2001.12.19.18.50.48;	author petere;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2001.12.03.19.33.35;	author tgl;	state Exp;
branches;
next	;

1.2.4.1
date	2002.11.11.19.59.56;	author petere;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	2002.11.16.02.34.22;	author momjian;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2002.12.18.20.39.31;	author momjian;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	2003.02.14.14.05.52;	author momjian;	state Exp;
branches;
next	1.2.4.5;

1.2.4.5
date	2003.07.23.04.13.11;	author momjian;	state Exp;
branches;
next	;

1.3.12.1
date	2006.12.11.22.48.07;	author momjian;	state Exp;
branches;
next	1.3.12.2;

1.3.12.2
date	2007.01.05.20.55.28;	author momjian;	state Exp;
branches;
next	1.3.12.3;

1.3.12.3
date	2007.01.05.20.57.17;	author momjian;	state Exp;
branches;
next	1.3.12.4;

1.3.12.4
date	2007.02.01.04.56.41;	author momjian;	state Exp;
branches;
next	1.3.12.5;

1.3.12.5
date	2007.02.06.18.38.04;	author momjian;	state Exp;
branches;
next	1.3.12.6;

1.3.12.6
date	2007.02.07.03.16.59;	author momjian;	state Exp;
branches;
next	1.3.12.7;

1.3.12.7
date	2007.04.19.03.07.22;	author momjian;	state Exp;
branches;
next	1.3.12.8;

1.3.12.8
date	2007.09.11.17.37.29;	author momjian;	state Exp;
branches;
next	1.3.12.9;

1.3.12.9
date	2007.09.12.03.11.49;	author momjian;	state Exp;
branches;
next	1.3.12.10;

1.3.12.10
date	2007.09.13.03.34.23;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Include the platform "FAQs" into the installation instructions.
I weeded out some really old information along the way.
FAQ_AIX needs separate consideration and will be dealt with later.
@
text
@=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL
IRIX Specific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
last updated:           $Date: 2007/10/28 22:33:25 $

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?

PostgreSQL has been reported to run successfully on MIPS r8000, r10000(both
ip25 and ip27) and r12000(ip35) processors, running IRIX 6.5.5m, 6.5.12,
6.5.13, and 6.5.26 with MIPSPro compilers version 7.30, 7.3.1.2m, 7.3, and
7.4.4m.

Aside from the PostgreSQL source distribution, you will need GNU make
(SGI's make will not do), and the MIPSPro full ANSI C compiler.

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.

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.


1.2)	Anything special about the build/install procedure?

There may be a compilation problem like the following:

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
add #include <sys/xti.h> in src/backend/libpq/pqcomm.c and in
src/interfaces/libpq/fe-connect.c.


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
the geometry tests (depending on which FPU are you using).

Any other error is cause for suspicion.
@


1.7
log
@Ooops, fat-fingered last commit message.  Should have
mentioned updating FAQ_IRIX for information about buggy MIPSPro
compiler version, now confirmed by Herve Boulouis.
@
text
@d6 1
a6 1
last updated:           $Date: 2006/12/06 15:45:31 $
@


1.6
log
@FAQ_IRIX
@
text
@d24 4
a27 4
PostgreSQL has been run on MIPS r8000, r10000(both ip25 and ip27)
and r12000(ip35) processors, running IRIX 6.5.5m, 6.5.12 and 6.5.13 with
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).
@


1.5
log
@Back out mention of port success from FAQs, per Tom, added by Simon.
@
text
@d6 1
a6 1
last updated:           $Date: 2006/12/05 14:47:34 $
d24 1
a24 1
PostgreSQL 7.2 has been run on MIPS r8000, r10000(both ip25 and ip27)
d26 2
a27 1
MIPSPro compilers version 7.30, 7.3.1.2m and 7.3. 
d39 5
@


1.4
log
@Update of port patches, HEAD patch only.

Simon Riggs
@
text
@d6 1
a6 1
last updated:           $Date: 2002/11/11 20:04:05 $
a27 3
PostgreSQL 8.1.0 has been reported as compiling successfully on IRIX 6.5
on MIPS using cc by Kenneth Marshall (<ktm@@is.rice.edu>), 2005-11-04

@


1.3
log
@Revise platform FAQs.
@
text
@d6 1
a6 1
last updated:           $Date: 2001/12/19 18:50:48 $
d28 3
@


1.3.12.1
log
@Backpatch FAQ entry for null concatenation.
@
text
@d6 1
a6 1
last updated:           $Date: 2006/12/06 15:45:31 $
@


1.3.12.2
log
@Stamp release 8.2.1.  Update FAQs.
@
text
@@


1.3.12.3
log
@Update Japanese FAQ.
@
text
@@


1.3.12.4
log
@Backpatch FAQs to stable branch.
@
text
@@


1.3.12.5
log
@Backpatch FAQs to 8.2.X branch.
@
text
@@


1.3.12.6
log
@Update FAQ for 8.2.3.
@
text
@@


1.3.12.7
log
@Stamp releases 8.2.4, 8.1.9, 8.0.13, 7.4.17, 7.3.19.
@
text
@@


1.3.12.8
log
@Stamp releases 8.2.5, 8.1.10, 8.0.14, 7.4.18, 7.3.20.

Update FAQs for 8.2.5.
@
text
@@


1.3.12.9
log
@Update Japanese FAQ to current release number.
@
text
@@


1.3.12.10
log
@Update Japanese FAQ, backpatch.

Jun Kuwamura
@
text
@@


1.2
log
@Minor improvements
@
text
@d2 1
a2 1
Frequently Asked Questions (FAQ) for PostgreSQL 7.2
d6 1
a6 1
last updated:           $Date: 2001/12/03 19:33:35 $
d41 1
a41 14
In order to compile with cc you will need to execute:

CC=cc ./configure

You may want to edit src/templates/irix5 to include something like:

CFLAGS='-O2'
LDFLAGS='-O2'

It is a good place to improve performance of PostgreSQK, because here you
may use all MIPSPro power generating specific objects, see man cc.

Another known problem is include location, it may be different from some
compiler installations to others.  This may manifest itself with something like:
d59 1
a59 2
the geometry tests (depending on which FPU are you using) or order differences
between zero and NULL in join tests(depending on compiler version).
@


1.2.4.1
log
@Revise platform FAQs.
@
text
@d2 1
a2 1
Frequently Asked Questions (FAQ) for PostgreSQL
d6 1
a6 1
last updated:           $Date: 2001/12/19 18:50:48 $
d41 14
a54 1
There may be a compilation problem like the following:
d72 2
a73 1
the geometry tests (depending on which FPU are you using).
@


1.2.4.2
log
@Update TODO/FAQ for 7.3 release.
@
text
@d6 1
a6 1
last updated:           $Date: 2002/11/11 20:04:05 $
@


1.2.4.3
log
@Update Russian FAQ.  Update all FAQ's for 7.3.X branch.
@
text
@@


1.2.4.4
log
@Update FAQ's in head and 7.3.X.
@
text
@@


1.2.4.5
log
@Update all FAQ's for 7.3.4.
@
text
@@


1.1
log
@A quickie FAQ_IRIX covering some known issues, from Luis Amigo.
@
text
@d6 1
a6 1
last updated:           $Date: 2001/12/03 18:20:26 $
d29 1
a29 1
(SGI's make will not do), and MIPSPro full ANSI C compiler.
d31 6
a36 6
Until now there are problems trying to install with GNU's gcc, it is a known
gcc bug (not fixed at current date, version 3.0) using functions that return
some kind 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.
d41 1
a41 1
In order to compile with cc you will need to:
d43 1
a43 1
configure with-CC=cc
d45 1
a45 1
Or you may edit postgres.../src/templates/irix5
a46 3
including something like:

CC=cc
d50 1
a50 1
It is a good place to improve performance on postgresql, because here you
d53 2
a54 2
Other known problem is include location, it may be different from some
compiler installations to others, if you are getting something like:
d62 2
a63 2
add #include <sys/xti.h> in /src/backend/libpq/pqcomm.c and in
src/interfaces/libpq/fe-connect.c
@
