"Diego Sanchez R." <dmsanchezr@xxxxxxxxx> writes: > Is there any way of determining the actual structure of a record variable? Not in plpgsql; even if the info were exposed, you couldn't do anything very useful because that language is strongly typed. In some of the other PLs you could do it --- eg, in plperl the field names are keys of a hash. Or as a last resort there's always C. regards, tom lane