Skip to main content

Module static_setness

Module static_setness 

Source
Expand description

Catalog-only set-returning routine classification before physical traversal.

Functions§

builtin_call_returns_set
Whether a call of a built-in routine returns a set: a call bound to a built-in, or an unbound call that no SQL routine resolved. Scalar evaluation reports such a call with PostgreSQL’s executor diagnostic instead of evaluating it.
expression_may_return_set_statically
Whether expression contains a call that returns a set, outside its subqueries, classified from the catalog alone: a bound call by its routine, an unbound call by every visible routine of its name.
function_may_return_set_statically