Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> I changed the output string allocation to use the dimension to figure out
> how much space to request. I also use '%.16g' instead of '%g' to print
> out elements.
I already fixed that part better.
> This is good enough for what I want. If these changes are something that
> might get added to contrib/cube I can fix up the regression test and
> make the changes available. If this isn't something of enough general
> interest to worry about, then I won't.
The other changes sound reasonable. Fix the regression test and the
documentation and send a patch...
regards, tom lane