Check the comments in postgresql.sql - my previous commit didn't quite workas expected.I also removed an ugly assumption made in the PG port in bboard-procs.tcl.
Changed operations "AddApplet" and "AddUser" to refer to one time initoperations. The new ops "AddAppletToCommunity" and"AddUserToCommunity" will replace the old ops.
Added "tree_left" and "tree_right" in order to optimize tree queries, whichI did for the bboard package. "LIKE (tree_sortkey || %)" never uses theindex as we thought it did, as it turns out ... see postgresql.sql forexample queries that do.