I've committed this patch with the discussed changes and some othereditorialization. I have to leave for an appointment and can't writeanything now about the changes, but feel free to ask questions if youhave any.
regards, tom lane