PostgreSQL function (source code)

= PostgreSQL function
{tag=SQL function}

https://www.postgresql.org/docs/17/functions-srf.html