Hi,
In libpgtcl, pg_select an array field is return as the following string:
{"red","blue","green"}
and it's rather difficult to process them as a normal tcl list.
The same thing for pg_exec, pg_result/tupleArray
I think it would be better to return the string as:
"red" "blue" "green"
and tcl users could directly process the array as an ordinary tcl list.
As far as I know, arrays are not heavily used by libpgtcl users (thought
it's an interesting feature) so changing format would not affect too
many applications but will encourage array field usage in future.
What do you think?
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA