]> granicus.if.org Git - postgresql/commitdiff
|I noticed that the -assignbyidx function of -result in libpgtcl
authorBruce Momjian <bruce@momjian.us>
Wed, 13 May 1998 03:29:12 +0000 (03:29 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 13 May 1998 03:29:12 +0000 (03:29 +0000)
is not |documented, here is the relevant patch for it

Anton

doc/src/sgml/libpgtcl.sgml

index 5e51f07ce8f7cf3951187d93e3034c8ec9e2d701..331ad1a9d3ae4e90d981d3c03c73c0106ee2db5f 100644 (file)
@@ -646,6 +646,18 @@ assign the results to an array
 </VARLISTENTRY>
 <VARLISTENTRY>
 <TERM>
+-assignbyidx arrayName ?appendstr?
+</TERM>
+<LISTITEM>
+<PARA>
+assign the results to an array using the first field as a key
+and optionally append appendstr to the key name. Useful for
+creating pseudo-multi dimensional arrays in tcl.
+</PARA>
+</LISTITEM>
+</VARLISTENTRY>
+<VARLISTENTRY>
+<TERM>
 -numTuples
 </TERM>
 <LISTITEM>