11============================================================
2- Frequently Asked Questions (FAQ) for PostgreSQL 7.2
2+ Frequently Asked Questions (FAQ) for PostgreSQL
33Sun Solaris specific
44to be read in conjunction with the installation instructions
55============================================================
6- last updated: $Date: 2002/07/27 20:10:03 $
6+ last updated: $Date: 2002/11/11 20:04:05 $
77
88current maintainer: Peter Eisentraut <peter_e@gmx.net>
99
@@ -13,7 +13,6 @@ Contents:
13131) What tools do I need to build and install PostgreSQL on Solaris?
14142) Why do I get problems when building with OpenSSL support?
15153) Why does configure complain about a failed test program?
16- 4) How do I ensure that pg_dump and pg_restore can handle files > 2 Gb?
17165) Why does my 64-bit build sometimes crash?
1817
1918
@@ -32,10 +31,10 @@ http://www.sunfreeware.com
3231If you prefer sources, look here:
3332http://www.gnu.org/order/ftp.html
3433
35- You can build with either GCC or Sun's compiler suite. We have heard reports
36- of problems when using gcc 2.95.1; gcc 2.95.3is recommended. If you are
37- using Sun's compiler, be careful *not* to select /usr/ucb/cc; use
38- /opt/SUNWspro/bin/cc.
34+ You can build with either GCC or Sun's compiler suite. We have heard
35+ reports of problems when using gcc 2.95.1; gcc 2.95.3or later is
36+ recommended. If you are using Sun's compiler, be careful *not* to
37+ select /usr/ucb/cc; use /opt/SUNWspro/bin/cc.
3938
4039
41402) Why do I get problems when building with OpenSSL support?
@@ -72,18 +71,7 @@ Alternatively, set the environment variable LD_RUN_PATH. See the
7271ld(1) man page for more information.
7372
7473
75- 4) How do I ensure that pg_dump and pg_restore can handle files > 2 Gb?
76-
77- By default, gcc will build programs that only handle 32-bit file offsets.
78- This is not a real problem for the server but can easily be trouble for
79- pg_dump and pg_restore. Before running 'configure', set your CFLAGS variable
80- to specify support for files with 64-bit offsets. This has been verified
81- to work on Solaris 7:
82-
83- CFLAGS="`getconf LFS_CFLAGS`"; export CFLAGS
84-
85-
86- 5) Why does my 64-bit build sometimes crash?
74+ 4) Why does my 64-bit build sometimes crash?
8775
8876On Solaris 7 and older, the 64-bit version of libc has a buggy vsnprintf
8977routine, which leads to erratic core dumps in PostgreSQL. The simplest known