I'm trying to code a function that processes records from various tables performing the same action in each case. The functions receives as an argument a RECORD type variable and I'd like to iterate through each of its elements. According to the documentation here:
there exists an items() method that returns a set of tuples each with the attribute name and the associated value. How can use this method with pl/pgsql?