mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-04-01 14:38:35 +08:00
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.