> > try pltcl, it's supposed to be pretty good at this. > > > > As is plperl and likely plpython, and maybe others. Does anyone have an example of this at work? I tried a few Google searches, but couldn't get any results showing iterating over the columns of a record. Thanks, Steve ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match