Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gj4tr-000598-7t for pgsql-docs@arkaria.postgresql.org; Mon, 14 Jan 2019 16:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gj4tp-00041z-DQ for pgsql-docs@arkaria.postgresql.org; Mon, 14 Jan 2019 16:15:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gj4tp-00041l-7F for pgsql-docs@lists.postgresql.org; Mon, 14 Jan 2019 16:15:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gj4ti-00024S-4H for pgsql-docs@lists.postgresql.org; Mon, 14 Jan 2019 16:15:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x0EGFVbN025975; Mon, 14 Jan 2019 11:15:31 -0500 From: Tom Lane To: kes-kes@yandex.ru cc: pgsql-docs@lists.postgresql.org Subject: Re: DOC not so clear In-reply-to: <154747695538.22759.12913505368136831904@wrigleys.postgresql.org> References: <154747695538.22759.12913505368136831904@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Doc_comments_form?= message dated "Mon, 14 Jan 2019 14:42:35 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25973.1547482531.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Jan 2019 11:15:31 -0500 Message-ID: <25974.1547482531@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?q?PG_Doc_comments_form?=3D writes: > https://www.postgresql.org/docs/current/queries-table-expressions.html#Q= UERIES-LATERAL >> The resulting row(s) are joined as usual with the rows they were comput= ed >> 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