Skip to content

Commit 1c945db

Browse files
committed
Document that enabling asserts can _significantly_ slow down the server.
Back patch to 8.3.X.
1 parent 4cf827e commit 1c945db

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/src/sgml/installation.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.300 2008/01/31 20:29:30 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.300.2.1 2008/03/06 21:37:40 momjian Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -1113,14 +1113,15 @@ su - postgres
11131113
<para>
11141114
Enables <firstterm>assertion</> checks in the server, which test for
11151115
many <quote>cannot happen</> conditions. This is invaluable for
1116-
code development purposes, but the tests slow things down a little.
1116+
code development purposes, but the tests can slow down the
1117+
server significantly.
11171118
Also, having the tests turned on won't necessarily enhance the
11181119
stability of your server! The assertion checks are not categorized
11191120
for severity, and so what might be a relatively harmless bug will
11201121
still lead to server restarts if it triggers an assertion
1121-
failure. Currently, this option is not recommended for
1122-
production use, but you should have it on for development work
1123-
or when running a beta version.
1122+
failure. This option is not recommended for production use, but
1123+
you should have it on for development work or when running a beta
1124+
version.
11241125
</para>
11251126
</listitem>
11261127
</varlistentry>

0 commit comments

Comments
 (0)