On 12/2/15 4:59 PM, Caleb Meredith wrote: > What is an SRF?
Set returning function.
CREATE FUNCTION srf() RETURNS SETOF pg_class LANGUAGE sql AS 'SELECT * FROM pg_class'; -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Experts in Analytics, Data Architecture and PostgreSQL Data in Trouble? Get it in Treble! http://BlueTreble.com