3 ms·I believe what you're looking for is (in PostgreSQL) called a set returning function.by ttfkam 4y agoI believe what you're looking for is (in PostgreSQL) called a set returning function.