[sr-dev] git:5.1:18ab2fbe: db_postgres: docs for bytea_output_escape

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 19 08:35:33 CEST 2018


Module: kamailio
Branch: 5.1
Commit: 18ab2fbe8d7d24d2cb88b3bee9d9a1bf1eede5d5
URL: https://github.com/kamailio/kamailio/commit/18ab2fbe8d7d24d2cb88b3bee9d9a1bf1eede5d5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-10-19T08:26:32+02:00

db_postgres: docs for bytea_output_escape

(cherry picked from commit 99368909cdfc5140a1948525c5c734252f998efb)

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/18ab2fbe8d7d24d2cb88b3bee9d9a1bf1eede5d5.diff
Patch: https://github.com/kamailio/kamailio/commit/18ab2fbe8d7d24d2cb88b3bee9d9a1bf1eede5d5.patch

---

diff --git a/src/modules/db_postgres/doc/db_postgres_admin.xml b/src/modules/db_postgres/doc/db_postgres_admin.xml
index e218294736..bc4d326dca 100644
--- a/src/modules/db_postgres/doc/db_postgres_admin.xml
+++ b/src/modules/db_postgres/doc/db_postgres_admin.xml
@@ -151,6 +151,25 @@ modparam("db_postgres", "lockset", 6)
 		</example>
 	</section>
 
+	<section id="db_postgres.p.bytea_output_escape">
+		<title><varname>bytea_output_escape</varname> (integer)</title>
+		<para>
+			Control if the module should request escaping the output for
+			bytea fields.
+		</para>
+		<para>
+			Default value is 1 (do the escape).
+		</para>
+		<example>
+		<title>Set <varname>bytea_output_escape</varname> parameter</title>
+		<programlisting format="linespecific">
+...
+modparam("db_postgres", "bytea_output_escape", 0)
+...
+</programlisting>
+		</example>
+	</section>
+
 	</section>
 
 	<section>




More information about the sr-dev mailing list