summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2003-10-09 17:11:13 +0000
committerBruce Momjian2003-10-09 17:11:13 +0000
commitee326c7b3987a9926bdc6f04a2474b2ab30a0648 (patch)
treeaf674ae593fdf858e1fc22b1e9dcc3bb957ec922
parentbf1990687296cb0850a2d1984546bfc4b2c9a1bf (diff)
Update Solaris FAQ to mention -fast.
-rw-r--r--doc/FAQ_Solaris17
-rw-r--r--src/template/bsdi2
2 files changed, 15 insertions, 4 deletions
diff --git a/doc/FAQ_Solaris b/doc/FAQ_Solaris
index 9c769d5f58..9d6b8f97b1 100644
--- a/doc/FAQ_Solaris
+++ b/doc/FAQ_Solaris
@@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL
Sun Solaris specific
to be read in conjunction with the installation instructions
============================================================
-last updated: $Date: 2002/11/11 20:04:05 $
+last updated: $Date: 2003/10/09 17:11:13 $
current maintainer: Peter Eisentraut <[email protected]>
@@ -13,8 +13,8 @@ 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?
-5) Why does my 64-bit build sometimes crash?
-
+4) Why does my 64-bit build sometimes crash?
+5) How can I compile for optimum performance?
1) What tools do I need to build and install PostgreSQL on Solaris?
@@ -88,3 +88,14 @@ to read
does not matter.)
Then build as usual.
+
+
+5) How can I compile for optimum performance?
+
+Try using the "-fast" compile flag. The binaries might not be portable to
+other Solaris systems, and you might need to compile everything that links
+to PostgreSQL with "-fast", but PostgreSQL will run significantly faster,
+50% faster on some tests.
+
+
+
diff --git a/src/template/bsdi b/src/template/bsdi
index 16fe9d4b68..acf8dcfc47 100644
--- a/src/template/bsdi
+++ b/src/template/bsdi
@@ -1,4 +1,4 @@
-CFLAGS="$CFLAGS -pipe"
+#CFLAGS="$CFLAGS -pipe"
case $host_cpu in
i?86) CFLAGS="$CFLAGS -m486";;