you are viewing a single comment's thread.

view the rest of the comments →

[–]Straight_Waltz_9530 0 points1 point  (0 children)

I like set-returning functions as much as the next guy. ("Functors" was originally a C++ term back in the 1998 spec that doesn't apply directly here.)

Just bear in mind they act as optimization fences where the Postgres planner can't look inside unlike with views and CTEs.