Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2002-01-18 20:56:17 +0000
committerTom Lane2002-01-18 20:56:17 +0000
commit0dd19ad21d5a405e81a431bf2163c6c2efeea068 (patch)
tree8443306048cc5ce76ef0d88a98058911a1870691 /doc/FAQ_Solaris
parent74c8c0933802882070fea277be9de3acff42a284 (diff)
Add info about how to enable large-file support, so that pg_dump won't
choke at 2Gb of output. From Andrew Sullivan.
Diffstat (limited to 'doc/FAQ_Solaris')
-rw-r--r--doc/FAQ_Solaris14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/FAQ_Solaris b/doc/FAQ_Solaris
index 5ee5d7252dd..c84f2c648d0 100644
--- a/doc/FAQ_Solaris
+++ b/doc/FAQ_Solaris
@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL 7.2
Sun Solaris specific
to be read in conjunction with the installation instructions
============================================================
-last updated: $Date: 2001/12/10 13:02:20 $
+last updated: $Date: 2002/01/18 20:56:17 $
current maintainer: Peter Eisentraut <peter_e@gmx.net>
@@ -13,6 +13,7 @@ Contents:
1) What tools do I need to build and install PostgreSQL on Solaris?
2) Why do I get problems when building with OpenSSL support?
3) Why does configure complain about a failed test program?
+4) How do I ensure that pg_dump and pg_restore can handle files > 2 Gb?
1) What tools do I need to build and install PostgreSQL on Solaris?
@@ -64,3 +65,14 @@ whenever you run any of the installed PostgreSQL programs.
Alternatively, set the environment variable LD_RUN_PATH. See the
ld(1) man page for more information.
+
+
+4) How do I ensure that pg_dump and pg_restore can handle files > 2 Gb?
+
+By default, gcc will build programs that only handle 32-bit file offsets.
+This is not a real problem for the server but can easily be trouble for
+pg_dump and pg_restore. Before running 'configure', set your CFLAGS variable
+to specify support for files with 64-bit offsets. This has been verified
+to work on Solaris 7:
+
+ CFLAGS="`getconf LFS_CFLAGS`"; export CFLAGS