RETURNS Block
suggest changeOptions for RETURNS in a PL/pgSQL function:
- a scalar type (list of built-in types)
TABLE (column_name column_type, ...)SETOF data_typeorSETOF table_name
Do not quote the type name. RETURNS TABLE makes the function return a set of rows. SETOF table_name returns that table’s composite type.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents