diff options
| author | Bruce Momjian | 2008-03-06 21:37:40 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2008-03-06 21:37:40 +0000 |
| commit | 1c945db3d1011399e09f165bd09bd8fa532786a2 (patch) | |
| tree | cc7b0e4509d3d87b073f979371d953c96571612b | |
| parent | 4cf827e8d06a9063646125e0649ff6006a492703 (diff) | |
Document that enabling asserts can _significantly_ slow down the server.
Back patch to 8.3.X.
| -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 6b15ffb7b29..d69e27e2e49 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.300 2008/01/31 20:29:30 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.300.2.1 2008/03/06 21:37:40 momjian Exp $ --> <chapter id="installation"> <title><![%standalone-include[<productname>PostgreSQL</>]]> @@ -1113,14 +1113,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> |
