diff options
| author | Bruce Momjian <bruce@momjian.us> | 2008-03-06 21:37:33 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2008-03-06 21:37:33 +0000 |
| commit | dc29472b743437aeee4d43f713433af8b8790040 (patch) | |
| tree | 6ea13ce47acf1a875d90ff32681a4069d40e169b /doc/src | |
| parent | 38ade59f95bcd446225c8eda94db52c190311a1f (diff) | |
Document that enabling asserts can _significantly_ slow down the server.
Back patch to 8.3.X.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/installation.sgml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 2856da82e69..a9990023466 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.302 2008/02/17 16:36:43 petere Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.303 2008/03/06 21:37:33 momjian Exp $ --> <chapter id="installation"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -1144,14 +1144,15 @@ su - postgres <para> Enables <firstterm>assertion</> checks in the server, which test for many <quote>cannot happen</> conditions. This is invaluable for - code development purposes, but the tests slow things down a little. + code development purposes, but the tests can slow down the + server significantly. Also, having the tests turned on won't necessarily enhance the stability of your server! The assertion checks are not categorized for severity, and so what might be a relatively harmless bug will still lead to server restarts if it triggers an assertion - failure. Currently, this option is not recommended for - production use, but you should have it on for development work - or when running a beta version. + failure. This option is not recommended for production use, but + you should have it on for development work or when running a beta + version. </para> </listitem> </varlistentry> |
