summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2003-10-09 17:11:13 +0000
committerBruce Momjian2003-10-09 17:11:13 +0000
commitdfafeb6a89ad584e32f3f10a47ab60023d693a20 (patch)
treed50645de900e0cc0b562e670533a996127d87d54
parentb1d955ea7bf629ac2fd935e9506a1a506056e305 (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 9c769d5f58b..9d6b8f97b15 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 16fe9d4b680..acf8dcfc47c 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";;