mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 23:59:45 -04:00
0d49838df6
are declared to return set, and consist of just a single SELECT. We can replace the FROM-item with a sub-SELECT and then optimize much as if we were dealing with a view. Patch from Richard Rowell, cleaned up by me.