SELECT * , (plantconcept_plantnames("PLANTCONCEPT_ID")).* FROM "plantConcept" ; -- runtime: 3 min ("171006.093 ms")