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.96) (envelope-from ) id 1vIoAx-00F99r-0Q for pgsql-docs@arkaria.postgresql.org; Tue, 11 Nov 2025 13:12:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vIoAt-006Bg2-1S for pgsql-docs@arkaria.postgresql.org; Tue, 11 Nov 2025 13:12:43 +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.96) (envelope-from ) id 1vIoAs-006Bfr-1Z for pgsql-docs@lists.postgresql.org; Tue, 11 Nov 2025 13:12:43 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vIoAp-007A0k-1j for pgsql-docs@lists.postgresql.org; Tue, 11 Nov 2025 13:12:42 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 79C617A0139; Tue, 11 Nov 2025 08:12:36 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 11 Nov 2025 08:12:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1762866756; x=1762953156; bh=L0eKqqVElLiKVB3XQMh87Hmu316cHTDj yBak3nak0Z4=; b=ViZ8TbyJ5CuyzMIlPnBAyuOAIgawAIxCURQUFv4nExnmYVs3 zOQjfPZ6CbRCBjCwOtVi09PRBOt8UW+LkJiEhSt/QhCrbG5728+i35W423c4xxg5 CI0qWULZH4cmibMKTTRA7mbSbO69GCsd+I8mDBOvdHm6Ww6YLca48tM5oHOv/QQC x2+UNEjdA+swjVYpxjGV0KAOkhDDu6ETzQ+uPdS1SgJhlmUzpb5Txo9UnEsxFv4p /FhqIopkVKj8Eyn8E0P+E1ZuM7+o/Vu7X+bS9o+/TkIa8/fXPg+MprkxyE9acCuo rN2I/XvP2CK41I7vJHByo1wGobA1/Lu4D5fbPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1762866756; x= 1762953156; bh=L0eKqqVElLiKVB3XQMh87Hmu316cHTDjyBak3nak0Z4=; b=a hYcGv5aIOEQks8QjIgWx8vc+u7O9yP/TOFjwWTimsH4wS5Mx0qefv7ZOn9YKSVC4 WH1fLQsXHjluEYLwAghjQeO/29W8vzlgQLoTXyNDyKE+BjtTheVGDckyLTeYN9hG Og6vtEopb5tJikKICNW5sh/TdjrB1I7BcEEQKmYWAjrS3vChPr5acAZ8NlVgYP/d Eb52rc0LUk9R5tdkGQh40axtgYJ9F2MoRk69F0hJa28/FkNFHYkGp9mYlNorIu1J AYeo0FlW6wJPKP4pRkSldt99xh/zYoXYiETwPn7+0PTu0o2HzpiwbvmcV6MzvkXh +/4C8F4qavC+x0qRdhzoA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvtdduvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepjefhveehtdetgfffhffhfeefgffghffflefgieeuueekhedv hedvfeehffdvfeeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peekpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjihgrnhdruhhnihhvvghrsh grlhhithihsehgmhgrihhlrdgtohhmpdhrtghpthhtohepughgrhhofihlvgihmhhlsehg mhgrihhlrdgtohhmpdhrtghpthhtohepvgifihgvsegvfihivgdrnhgrmhgvpdhrtghpth htohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtthhopegsrhhutggvsehm ohhmjhhirghnrdhushdprhgtphhtthhopehnrghthhgrnhgusghoshhsrghrthesghhmrg hilhdrtghomhdprhgtphhtthhopegvuhhlvghrsegvuhhlvghrthhordgtohhmpdhrtghp thhtohepphhgshhqlhdqughotghssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Nov 2025 08:12:34 -0500 (EST) Message-ID: <8f2e99ca-cce1-4b73-98ca-c4eec9aeb502@eisentraut.org> Date: Tue, 11 Nov 2025 14:12:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Use uppercase keywords in foreign key tutorial To: jian he , David Rowley Cc: Erik Wienhold , Tom Lane , Bruce Momjian , Nathan Bossart , Euler Taveira , pgsql-docs@lists.postgresql.org References: <2903384.1761770924@sss.pgh.pa.us> <0a68a965-4599-4af1-a1eb-bd8e1be75788@ewie.name> <32882add-b671-42db-a041-e2c2c5b7c315@ewie.name> <4487a138-c4d2-4b06-80b3-5afe7f8e5d82@ewie.name> <971a5a3d-c200-4700-824b-f71a6e831994@ewie.name> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10.11.25 04:15, jian he wrote: > On Thu, Nov 6, 2025 at 11:06 AM David Rowley wrote: >> >> I reviewed this and double checked you left "uPDaTE" in [1]. Found no >> issues, so pushed. >> > > hi. > > in doc/src/sgml/func/func-matching.sgml > > > substring(string similar > pattern escape > escape-character) > > or using the now obsolete SQL:1999 syntax: > > substring(string from > pattern for > escape-character) > > or as a plain three-argument function: > > substring(string, > pattern, > escape-character) > > > key word: "similar", "escape", "from", "for" within the above synopsis > section need uppercase too? I don't think that would be a good change. substring is also a keyword, but it was said not to upper-case keywords used as functions. So in my mind that should also apply to other syntax elements of function-like calls.