|< < 46 > >|

Postgres Stored Procedures

A function can return a table

Caveat:

  • The entire set of rows is accumulated before returning to the caller.

  • If the set of rows is sufficiently large, this could get expensive, e.g. saving it to disk temporarily.

|< < 46 > >|