I've just committed fixes for bboard-procs.tcl (1 above) and
bboard-procs-postgresql.xql (2). See the cvs log/diff for details.
I'm checking that fixes work on both PG and Oracle, but since I'm
primarily developing on Oracle, extra PG testing will be greatly
appreciated. Thanks for catching these Louis!