From: Bruce Momjian Date: Wed, 13 May 1998 03:29:12 +0000 (+0000) Subject: |I noticed that the -assignbyidx function of -result in libpgtcl X-Git-Tag: REL6_4_2~981 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e5f53e730c76383ddc8c8f405e4405fb6777ceb;p=thirdparty%2Fpostgresql.git |I noticed that the -assignbyidx function of -result in libpgtcl is not |documented, here is the relevant patch for it Anton --- diff --git a/doc/src/sgml/libpgtcl.sgml b/doc/src/sgml/libpgtcl.sgml index 5e51f07ce8f..331ad1a9d3a 100644 --- a/doc/src/sgml/libpgtcl.sgml +++ b/doc/src/sgml/libpgtcl.sgml @@ -646,6 +646,18 @@ assign the results to an array +-assignbyidx arrayName ?appendstr? + + + +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. + + + + + -numTuples