Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBOxe-00AjPr-Vd for pgsql-docs@arkaria.postgresql.org; Fri, 08 Dec 2023 00:43:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rBOxd-0035Rp-Ky for pgsql-docs@arkaria.postgresql.org; Fri, 08 Dec 2023 00:43:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBOxd-0035Rh-Ct for pgsql-docs@lists.postgresql.org; Fri, 08 Dec 2023 00:43:21 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBOxa-00Adzz-I5 for pgsql-docs@lists.postgresql.org; Fri, 08 Dec 2023 00:43:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=FzNKGzt+6QDlsNT1JtNGygJRtnkXjFtXB5GsUn+JPqM=; b=RKcXpnA+AcG9FQQS/vPgjLc+is LFyhAMuXI4d2HOtEr4mv0t+L32GV4dObSPAEgPFgp3svdK23fTRihZbTLl2kbR0NROxScHBxy5EZp jKQmEJkuxNTGgQQveN7uVebCg+txJNS0SM+R21f6cHZH74WUMP+4u2jvNeHJF7WcNKPwLDwAL+N0H ij1k0vNSBrjYzPnCih7HEBAgyIcvFRtY9uDoobtzK0CFt7wS2Cs+cPmEKojcWAnQZMDHDmxlrG1bZ xN2eTNaa59Hw03tSmDofJ0RWFN98o9GxwJ8Q/1xkGabAabOi+LYFZrYrhjfQEdP2VDNJ7A8ImvDSE MKHSuVtg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rBOxZ-00BAin-0Q; Thu, 07 Dec 2023 19:43:17 -0500 Date: Thu, 7 Dec 2023 19:43:17 -0500 From: Bruce Momjian To: "David G. Johnston" Cc: pgsql-docs@lists.postgresql.org Subject: Re: SELECT ... FOR UPDATE OF clause documentation implies use of table_names rather than aliases Message-ID: References: <152483686904.19805.3369061025704720797@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Nov 20, 2023 at 08:20:57PM -0700, David G. Johnston wrote: > On Mon, Nov 20, 2023 at 8:16 PM Bruce Momjian wrote: > > On Mon, Nov 20, 2023 at 07:19:39PM -0700, David G. Johnston wrote: > > The placement in the numbered listing section feels wrong, I am OK with > > the wording.  It should be down in the clause details. > > > > FOR lock_strength [ OF from_reference [, ...] ] [ NOWAIT | SKIP LOCKED ]  > -- > > need to change this spot to match > > > > where lock_strength can be one of > > > > [...] > > > > + and from_reference must be a table alias or non-hidden table_name > referenced > > in the FROM clause. > > > > For more information on each [...] > > Ah, good point.  I was searching for "FOR UPDATE" so I missed that > section;  updated patch attached. > > > > WFM. Patch applied to master. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.