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 1vIJOK-003Jlp-Nu for pgsql-docs@arkaria.postgresql.org; Mon, 10 Nov 2025 04:20:32 +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 1vIJOJ-00DrbJ-E2 for pgsql-docs@arkaria.postgresql.org; Mon, 10 Nov 2025 04:20:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vIJOJ-00Drb7-1h for pgsql-docs@lists.postgresql.org; Mon, 10 Nov 2025 04:20:31 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vIJOH-006JW2-1X for pgsql-docs@lists.postgresql.org; Mon, 10 Nov 2025 04:20:30 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-591c9934e0cso3270392e87.0 for ; Sun, 09 Nov 2025 20:20:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762748426; x=1763353226; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=89bhFVuzv5mqS/zOlOJGhyoZEA4D8ewQyz1JnSr4KoU=; b=PoHJypyuTq4BLiPmXOYz7FensU9F8/kWfoBbX2d7x9uDwXtKpHKm+DWuZNsL7TvMOw uWUQrpnZK6E7kwcRIDJVmyBGaIU3UTHEkNMz4NJt3lf4pryTCiHlMG7LIEVQhpPS9xp4 UYKquBRpphjrTlkZq7CxCZKlGOf7V6cKp0g5nLovqpk+hl7KdxeelinKlxhorM2rEKs9 n23pXuaP4IWOCS8mFe7TU2Y1dY4TxFqDoGLmgWsqRrs6pv5UCsXrCH+HW/X0srmzI234 XCMya8mflVpqNZslj/SN+MxZyO1V9y7vOXG7zLKWii1Odq3dXtSuQtCrfKiT4M+ngURY 9QOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762748426; x=1763353226; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=89bhFVuzv5mqS/zOlOJGhyoZEA4D8ewQyz1JnSr4KoU=; b=ibQKFLReBTWzu+hTn44M+KAIdSDY1kG7GnSmDBKGkM8rYPdy9rlHoLYJCZaMsPYQ0w ceyUnk19xmumK2iFrsCizseCLRqFh0FIz5wadET7esKXog7g7v9JStRbe/rKvZR7PmEd TRLxwikmXH4pP6ybJdvZpKGfPCN8o4bTQN1WliwP3W6L3FEmpohJlOGfq+uvyaU9VDPR vVNP6GRKQ+6efS4zYAIbLEdwkgu8i1BUPzG18o1mnWSw/32X5QxOn5NZAGeP8IvFZLRs wDMUGU3dw9shagZ/jd8YXvRnDL823N75WtI0ZvJQlwAG++aK94+N096lWi4fX3POBKaF gX2Q== X-Forwarded-Encrypted: i=1; AJvYcCW07FrQsqKdWmZjUhR3SYvv3C+e0OTl+52fEvfhRLubqKbAsOLQd9HqaztthDJr4EHtT7ghqCnhl9xT@lists.postgresql.org X-Gm-Message-State: AOJu0YznF7h58/DQGPHvCDXTlEwKA4Zies4KLVPOSWhrLcu58B9ihMf9 jYpM0xI19kIfSeIUXaOx7tzOXqLb6nWS5huxppNQcLkPP1k7uDAhaM6eJBbsqyKKqmPjTFdO/AF 8vbRHMngz5QMYsxIoD7DPX5bFUJirE+A= X-Gm-Gg: ASbGncvgvVvtXPkg/UcOgEzgKlyX87Mfn1G6/o+hlGZv4dQu+CcgJJiEYWVWXAg55nS QMAI4dWbOSfL5ooY3CL0hkNpyVO7BkLWUwz1Vz2eZclYrqhQlbG8WUfRRXpd74ASeR9RuhkkFDt iMk2duGm2R8uI5yrJ7KxRw8nsC25Qoa6WDpaxfrBnkj0FxE1Nacc1Vght+9620Tp8gQm2XanxJv BXanjbMG63VxEuizEDP8sgo6D9BIgugWvOyh6PgsOyp1svkg87omuDwQIlZuzgODjZzhEgpcAWd b5b6/uBzuada4ZzT9jSFxnu4F0FiHwGF133RaQztpPEgO85LWhQ= X-Google-Smtp-Source: AGHT+IGs8s6arRK98B8pwFfMpZM3dFc8kan6uoiGsg6IrzJ9mQp++jfTLJPDC5KHDfe5UBC1aBvu5srd3CYzwnrHEV8= X-Received: by 2002:a05:6512:3e04:b0:57a:6d7d:dd7f with SMTP id 2adb3069b0e04-5945f159606mr1885800e87.5.1762748426159; Sun, 09 Nov 2025 20:20:26 -0800 (PST) MIME-Version: 1.0 References: <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> <5b870856-1ff9-4776-97ba-f568eb5cbd2f@ewie.name> In-Reply-To: <5b870856-1ff9-4776-97ba-f568eb5cbd2f@ewie.name> From: David Rowley Date: Mon, 10 Nov 2025 17:20:13 +1300 X-Gm-Features: AWmQ_blfjJxwKBZ8mPbVat82VY6wU8mUvShx9yhbnI0KRd-9uiVvVMHohexIzwo Message-ID: Subject: Re: Use uppercase keywords in foreign key tutorial To: Erik Wienhold Cc: jian he , Tom Lane , Bruce Momjian , Nathan Bossart , Euler Taveira , pgsql-docs@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 10 Nov 2025 at 16:40, Erik Wienhold wrote: > > in doc/src/sgml/func/func-matching.sgml > > key word: "similar", "escape", "from", "for" within the above synopsis > > section need uppercase too? > > Thanks, good catch. Not surprised that I've missed those because it > already took me a couple of rounds to find everything that's in the > previous patch. Here's another patch. I've pushed this after doing a manual scan the command that the following outputs: select 'git grep -E "\b(' || string_agg(word,'|') || ')\("' from pg_get_keywords(); I didn't see any other ones that are all lowercase. I also tried with initcap(word). I didn't go as far as writing a regex that searched for other mixed case but not all upper case. David