I am trying to cast the record type from the return of crosstab. It is noted that the number of columns is unknown at definition time (cols are passed in as par
crosstab