Răsfoiți Sursa

db_postgres: documentation for lockset parameter

Daniel-Constantin Mierla 8 ani în urmă
părinte
comite
7d27b682cc
1 a modificat fișierele cu 23 adăugiri și 2 ștergeri
  1. 23 2
      src/modules/db_postgres/doc/db_postgres_admin.xml

+ 23 - 2
src/modules/db_postgres/doc/db_postgres_admin.xml

@@ -11,9 +11,9 @@
 <!-- Module User's Guide -->
 
 <chapter>
-	
+
 	<title>&adminguide;</title>
-	
+
 	<section>
 	<title>Overview</title>
 	<para>The module is an implementation of the internal DB API v1 and v2
@@ -130,6 +130,27 @@ modparam("db_postgres", "tcp_keepalive", 600)
 </programlisting>
 		</example>
 	</section>
+
+	<section>
+		<title><varname>lockset</varname> (integer)</title>
+		<para>
+			The value is used as power of two to compute the size of the
+			lock set needed to implement the equivalent of REPLACE SQL
+			statement.
+		</para>
+		<para>
+			Default value is 4 (lock set size is 16).
+		</para>
+		<example>
+		<title>Set <varname>lockset</varname> parameter</title>
+		<programlisting format="linespecific">
+...
+modparam("db_postgres", "lockset", 6)
+...
+</programlisting>
+		</example>
+	</section>
+
 	</section>
 
 	<section>