Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRKDo-0000fE-4O for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 19:08:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRKDn-0007ht-04 for pgsql-general@arkaria.postgresql.org; Sat, 10 Oct 2020 19:07:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRKDm-0007hm-P7 for pgsql-general@lists.postgresql.org; Sat, 10 Oct 2020 19:07:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRKDk-0006Vq-Gr for pgsql-general@postgresql.org; Sat, 10 Oct 2020 19:07:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 09AJ7rKX2923672; Sat, 10 Oct 2020 15:07:53 -0400 From: Tom Lane To: "David G. Johnston" cc: =?UTF-8?Q?Olivier_Lepr=C3=AAtre?= , pgsql-general Subject: Re: Strange behavior In-reply-to: References: <001a01d69f1e$4c006d60$e4014820$@gmail.com> Comments: In-reply-to "David G. Johnston" message dated "Sat, 10 Oct 2020 10:58:04 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2923670.1602356873.1@sss.pgh.pa.us> Date: Sat, 10 Oct 2020 15:07:53 -0400 Message-ID: <2923671.1602356873@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" writes: > I am pondering trying to get the FAQ entry incorporated into the actual > documentation. Not sure how much it'd help, but we have warnings against mistakes that are far less common than this one, so sure why not. Taking a quick gander at the docs, it seems like the thing to do would be to add something to the head text in 9.23. Subquery Expressions, and then remove any duplicative statements from the individual 9.23.x subsections. regards, tom lane