[sr-dev] git:master:7d27b682: db_postgres: documentation for lockset parameter

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 11 18:29:04 CEST 2017


Module: kamailio
Branch: master
Commit: 7d27b682cc6259b1f6bcd21584b9f1d5bbfc9a36
URL: https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d5bbfc9a36

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-10-11T18:27:50+02:00

db_postgres: documentation for lockset parameter

---

Modified: src/modules/db_postgres/doc/db_postgres_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d5bbfc9a36.diff
Patch: https://github.com/kamailio/kamailio/commit/7d27b682cc6259b1f6bcd21584b9f1d5bbfc9a36.patch

---

diff --git a/src/modules/db_postgres/doc/db_postgres_admin.xml b/src/modules/db_postgres/doc/db_postgres_admin.xml
index 49bd88286f..e218294736 100644
--- a/src/modules/db_postgres/doc/db_postgres_admin.xml
+++ b/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>




More information about the sr-dev mailing list