Skip to content

Define a function with a setof return type #9264

@robertsosinski

Description

@robertsosinski

Describe the solution you'd like

A simple way to define a function that returns setof something for set returning functions. Perhaps a toggle called Returns a set? that when activated will define the specified Return type as setof.

Describe alternatives you've considered

Just clicking the Custom return type? toggle, and typing in setof <my type>. This works, but I don't get to use the dropdown list that has my type.

Additional context

Here is a proposed screen snip of how this could look, with a Returns a set? toggle under the Custom return type? toggle.

Image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions