sqlc
sqlc copied to clipboard
Support RETURNS TABLE similar to OUT parameters
Support table-valued functions in the same way that OUT parameters are currently supported. The columns of the output table are returned by pg_analyze in the list of arguments, so we just need to pass them through and add them as a source table.