Alvaro Herrera <alvhe...@2ndquadrant.com> writes: > ... all plan types that use only one child use the outer one. They > could use either, as long as it does that consistently, I think.
Yeah, exactly. The outer/inner terminology is really only sensible for join nodes, but there isn't a third child-plan pointer reserved for single-child node types, so you gotta use one of those. And conventionally we use the "outer" one. regards, tom lane