Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 63e183c

Browse files
committed
Add info about minimum recommended AIX fix levels, per Laurenz Albe.
1 parent 35daaa9 commit 63e183c

File tree

1 file changed

+59
-21
lines changed

1 file changed

+59
-21
lines changed

doc/src/sgml/installation.sgml

+59-21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.322 2009/06/11 19:00:14 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.323 2009/06/12 15:53:32 tgl Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -2053,17 +2053,17 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
20532053
</indexterm>
20542054

20552055
<para>
2056-
PostgreSQL on AIX works, but getting it installed properly can be
2057-
challenging. Both AIX version 4.3 and 5.3 are supported in
2058-
theory. You can use GCC or the native IBM compiler xlc. In
2056+
PostgreSQL works on AIX, but getting it installed properly can be
2057+
challenging. AIX versions from 4.3.3 to 6.1 are considered supported.
2058+
You can use GCC or the native IBM compiler xlc. In
20592059
general, using recent versions of AIX and PostgreSQL helps. Check
20602060
the build farm for up to date information about which versions of
20612061
AIX are known to work.
20622062
</para>
20632063

20642064
<para>
20652065
Use the following <command>configure</command> flags in addition
2066-
to your own if you have Readline or libz
2066+
to your own if you have installed Readline or libz
20672067
there: <literal>--with-includes=/usr/local/include
20682068
--with-libraries=/usr/local/lib</literal>.
20692069
</para>
@@ -2085,17 +2085,54 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
20852085
<ulink url="http://www.han.de/~jum/aix/ldd.c"></ulink>.
20862086
</para>
20872087

2088-
<sect3>
2089-
<title>AIX 4.3.2</title>
2088+
<para>
2089+
<xref linkend="AIX-fixlevels"> shows the minimum recommended fix levels
2090+
for various AIX versions. To check your current fix level, use
2091+
<command>oslevel -r</command> in AIX 4.3.3 to AIX 5.2 ML 7, or
2092+
<command>oslevel -s</command> in later versions.
2093+
</para>
20902094

2091-
<para>
2092-
On AIX 4.3.2, you need <filename>libm.a</filename> that is in the
2093-
fileset <literal>bos.adt.libm</>. Try the following command:
2094-
<screen>
2095-
$ lslpp -l bos.adt.libm
2096-
</screen>
2097-
</para>
2098-
</sect3>
2095+
<table id="AIX-fixlevels">
2096+
<title>
2097+
Minimum recommended <systemitem class="osname">AIX</systemitem> fix levels
2098+
</title>
2099+
2100+
<tgroup cols="2">
2101+
<thead>
2102+
<row>
2103+
<entry>AIX version</entry>
2104+
<entry>fix level</entry>
2105+
</row>
2106+
</thead>
2107+
2108+
<tbody>
2109+
<row>
2110+
<entry>AIX 4.3.3</entry>
2111+
<entry>Maintenance Level 11 + post ML11 bundle</entry>
2112+
</row>
2113+
2114+
<row>
2115+
<entry>AIX 5.1</entry>
2116+
<entry>Maintenance Level 9 + post ML9 bundle</entry>
2117+
</row>
2118+
2119+
<row>
2120+
<entry>AIX 5.2</entry>
2121+
<entry>Technology Level 10 Service Pack 3</entry>
2122+
</row>
2123+
2124+
<row>
2125+
<entry>AIX 5.3</entry>
2126+
<entry>Technology Level 7</entry>
2127+
</row>
2128+
2129+
<row>
2130+
<entry>AIX 6.1</entry>
2131+
<entry>Base Level</entry>
2132+
</row>
2133+
</tbody>
2134+
</tgroup>
2135+
</table>
20992136

21002137
<sect3>
21012138
<title>GCC issues</title>
@@ -2133,11 +2170,11 @@ $ lslpp -l bos.adt.libm
21332170

21342171
<para>
21352172
The problem was reported to IBM, and is recorded as bug report
2136-
PMR29657. If you upgrade to maintenance level 5300-03, that will
2137-
include this fix. Use the command <literal>oslevel -r</literal>
2138-
to determine what maintenance level you are at. An immediate
2139-
resolution is to alter <symbol>_SS_MAXSIZE</symbol> to = 1025 in
2140-
<filename>/usr/include/sys/socket.h</filename>.
2173+
PMR29657. If you upgrade to maintenance level 5300-03 or later,
2174+
that will include this fix. A quick workaround
2175+
is to alter <symbol>_SS_MAXSIZE</symbol> to 1025 in
2176+
<filename>/usr/include/sys/socket.h</filename>. In either case,
2177+
recompile PostgreSQL once you have the corrected header file.
21412178
</para>
21422179
</sect3>
21432180

@@ -2149,7 +2186,8 @@ $ lslpp -l bos.adt.libm
21492186
to parse IP addresses in <varname>listen_addresses</>,
21502187
<filename>pg_hba.conf</>, etc. Older versions of AIX have assorted
21512188
bugs in this function. If you have problems related to these settings,
2152-
updating to the latest fix pack for your AIX release should fix it.
2189+
updating to the appropriate fix level shown in <xref
2190+
linkend="AIX-fixlevels"> should take care of it.
21532191
</para>
21542192

21552193
<!-- http://archives.postgresql.org/message-id/6064jt6cfm.fsf_-_@dba2.int.libertyrms.com -->

0 commit comments

Comments
 (0)