Browse code

dispatcher: documentation for ds_db_extra_attrs param

Daniel-Constantin Mierla authored on 18/06/2018 10:53:20
Showing 1 changed files
... ...
@@ -955,6 +955,33 @@ end
955 955
  		</example>
956 956
 	</section>
957 957
 
958
+	<section id="dispatcher.p.ds_db_extra_attrs">
959
+		<title><varname>ds_db_extra_attrs</varname> (str)</title>
960
+		<para>
961
+		Set a list of column names to be loaded from database dispatcher table
962
+		and be concatenated to 'attrs' field. The format is:
963
+		'aname1=cname1;aname2=cname2;...;anameN=cnameN'.
964
+		</para>
965
+		<para>
966
+		The 'anameX' is the attribute name and 'cnameX' is column name. The
967
+		additional columns must be added to database dispatcher table and their
968
+		type must be VARCHAR (string).
969
+		</para>
970
+		<para>
971
+		<emphasis>
972
+			Default value is <quote>empty</quote>.
973
+		</emphasis>
974
+		</para>
975
+		<example>
976
+		<title>Set the <quote>ds_db_extra_attrs</quote> parameter</title>
977
+<programlisting format="linespecific">
978
+...
979
+modparam("dispatcher", "ds_db_extra_attrs", "socket=socket;pref=prefix")
980
+...
981
+</programlisting>
982
+		</example>
983
+	</section>
984
+
958 985
 	</section>
959 986
 
960 987
 	<section>