New version: ST_Node() and giving up on attributes

This new version uses ST_Node() The previous version was splitting on any intersection, often multiple times per segment, e.g. if a line was crossed by multiple lines, there would be multiple cut-up results in the output table.

I gave a try to copying attributes, but this is a bust. Pl/PgSQL won't let me use individual fields from a record datatype, even if I know the field names and am iterating over them. Anyone?