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 1s6mjr-001lOO-Hx for pgsql-docs@arkaria.postgresql.org; Tue, 14 May 2024 07:38:21 +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 1s6mjq-00Aql2-TD for pgsql-docs@arkaria.postgresql.org; Tue, 14 May 2024 07:38:18 +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 1s6mjp-00Aqkh-AW for pgsql-docs@lists.postgresql.org; Tue, 14 May 2024 07:38:18 +0000 Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6mjj-0007lg-Em for pgsql-docs@lists.postgresql.org; Tue, 14 May 2024 07:38:16 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id 8FB9E1C0017C; Tue, 14 May 2024 03:38:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 14 May 2024 03:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=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=1715672289; x=1715758689; bh=AMZhiV/cSR1ip53mO2+3GyuqNa/ceWzIFRfH4viC5Dg=; b= P55cISGFtx6/drHrv8Un6WrefMCz80Hfg/tOyP84TMKiHbkKp3HcyUp8Pg/8kjIb HQz/gYmILW80v71VLn0oj3CQxrvljRpGqNj24ETUnN6zR0Lu+JrVAxOUWIL/HbZp iwqTidcULeC5CDjcEv/N1vYbrHqloi2tWkJeHCLZeYEVubzDHI8dShA5/VhZDM7l 81V9rX/Kcl1FtWg429Pbnh8oMPM631YWWCKxWZPInlQIBZTfTGZ+4YB6tFweTUQT UIWmdldDRw0zRjHqUtaK2fyd4r9gK4IpAOsVx0p9h4ZAaaoGCpluQoBpR+pc4N2R KWpp6R8RebEKNaVFTb5/4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715672289; x= 1715758689; bh=AMZhiV/cSR1ip53mO2+3GyuqNa/ceWzIFRfH4viC5Dg=; b=J lsUZlebnN6ThjD9Gr3ODbnnhQefNdthZkQvNglEjOYYkDS2PNWPn0GtByIuhLCKF zC4eRzmmoRpHbX9coLOCRHWXW4F36IiMD4axCkxVgwxg7/DP09vdqSdCI0Ge/Zf3 00TsTOLvimeb19fVujX2rV08gLphJTsfcwa8sndm0kdCk69HQZQTX6hHPtKeikdR gP69khP6PfJ3afmSBnAUB5n4K/0KT/sA6fMhJX7Q2CFmpCEUixXbt1lg3LlQk2Zv zkEqa+UvOc7b0WIA6u8Stx4z7s54PWy6P16a1Qqfm3ryE/FJ4BqbQdAkhyG6N0Vg 9Dgtj1s+Q9AmnEQiKr5hg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeghedguddugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ekredttddvjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgv rhesvghishgvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpedugfejffefle efvdegvdejvdeiheevgffhjefgudfhvedvjeevfeehteelgfevfeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnth hrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 May 2024 03:38:08 -0400 (EDT) Message-ID: <9beecdf7-e8c8-4eab-adc7-fa225c2feefd@eisentraut.org> Date: Tue, 14 May 2024 09:38:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Explanations not clear To: Jeff Davis , florian.murat.koch@gmail.com, pgsql-docs@lists.postgresql.org References: <171501838010.704.2474442958031349608@wrigleys.postgresql.org> <20d80bfbbec3874d430691fec37465fb7c4cb277.camel@j-davis.com> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <20d80bfbbec3874d430691fec37465fb7c4cb277.camel@j-davis.com> 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 13.05.24 21:10, Jeff Davis wrote: > On Wed, 2024-05-08 at 08:52 +0200, Peter Eisentraut wrote: >>> I created a collation specifying the ks-level3 setting and with >>> deterministic set to false. But when I compare "a_b" to "a-b" with >>> this >>> collation I get false. According to the table 24.1 it should yield >>> true. >>> Only after adding ka-shifted this comparison becomes true. The >>> interactions >>> of the different options are not very clear. >> >> I think table 24.1 is somewhat incorrect in the sense that >> punctuation >> is only level 4 if you use ka-shifted, otherwise it's level 1.  This >> should perhaps be clarified. > > One option is to just include 3 levels (plus "identic") in the table, > and then later document that ka-shifted creates a fourth level and > moves punctuation character differences into that level. That explains > the mechanism but detracts from the examples. > > Another option is to say that all the examples in the table are using > ka-shifted for illustration purposes. I like this option, but it's a > bit awkward because it refers to something that hasn't been explained > yet. It's also only relevant for the 'x-y' = 'x_y' example, which might > be slightly confusing. > > Thoughts? Maybe with a forward reference in a footnote, like this: diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index daf671e6205..10c12adf634 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -1320,7 +1320,7 @@ ICU Collation Levels level4 - Punctuation + Punctuationonly with ka-shifted; see true true false