=?utf-8?q?PG_Doc_comments_form?= <nore...@postgresql.org> writes: > https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-LATERAL
>> The resulting row(s) are joined as usual with the rows they were computed >> from. > Here is not so clear what 'joined as usual' mean. Why not? > Probably DOC should explicitly say that if LATERAL function return empty set > then current row is excluded from result set That would be wrong for "LEFT JOIN LATERAL ...", so it does not seem like an improvement. regards, tom lane