Plan nodes · Scans
Function Scan
Reads the rows returned by a set-returning function.
Calls a function in FROM, such as generate_series() or unnest(), and reads its result, usually all of it into a tuplestore first.
Example
SELECT * FROM generate_series(1, 10)
1 node
Run with EXPLAIN (ANALYZE, BUFFERS, TIMING OFF, SUMMARY OFF) on the sample database, PostgreSQL 19.0. Open it in the EXPLAIN visualizer →
Related
Seq Scan · Index Scan · Index Only Scan · Bitmap Index Scan · Bitmap Heap Scan · BitmapAnd · BitmapOr · Tid Scan · Tid Range Scan · Sample Scan · Subquery Scan · Table Function Scan · Values Scan · CTE Scan · WorkTable Scan · Named Tuplestore Scan · Foreign Scan · Custom Scan