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 1lRshl-0005cV-V8 for pgsql-docs@arkaria.postgresql.org; Thu, 01 Apr 2021 08:29:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRshk-0000dx-SZ for pgsql-docs@arkaria.postgresql.org; Thu, 01 Apr 2021 08:29:28 +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 1lRshk-0000dq-N1 for pgsql-docs@lists.postgresql.org; Thu, 01 Apr 2021 08:29:28 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRshd-0003XT-V0 for pgsql-docs@lists.postgresql.org; Thu, 01 Apr 2021 08:29:28 +0000 Received: from [192.168.178.34] ([77.12.74.111]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1Myb09-1loeuI2tjh-00yzTv for ; Thu, 01 Apr 2021 10:29:19 +0200 Subject: Re: [PATCH] add link to domain data types section from locale documentation To: pgsql-docs@lists.postgresql.org References: <2ea65bdf-1380-f088-02bd-ff1a31ed265c@postgrespro.ru> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: <511121ea-613a-6600-b252-5cebaaa3bccf@purtz.de> Date: Thu, 1 Apr 2021 10:29:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <2ea65bdf-1380-f088-02bd-ff1a31ed265c@postgrespro.ru> Content-Type: multipart/mixed; boundary="------------67DE22238B6CE2697DD4B7A8" Content-Language: en-US X-Provags-ID: V03:K1:YyUK0HQwn/H3IalQh/F1H03yhe8hunDctYQ9rFXkOMryNuN8ALN J3naLXekClnEbk7pZd98tyQ76rx6/ZSghl7kbApyebla6CTxUXRsHZovoIo5PgOk56lbyEO VWYCBI1yfk60Tkk9Fik/TCeOTncH0PiceBNqqJ2EQ9gOb3R5KbGSQKByMQQLBXg21FOJtdH /ysToxwkcxN2JowYmw+KQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Rw2opn08/J0=:kaQ+l9ZVAOmnBXxjqvPMhu TAV1HE+MKmHAH9BpNDV0v9CTlBNIipFsBpqZjk7D68V0pOdH+E+Xv+RJWZDfIvBEIyBoaSljH q3EdoQgAvgCSKLkfAGhD9sI/BBsLfvsRTU+9kj3JueWMl5Cgo19i1anqv6yQMmoJfyd/5DSpB D3pP1/85ao0GkIbrrCm1Un7Fv9BiINaGuF28+Lb5DpLNZPcfCewoQIdCEd9nWhTQAcC00c7n1 d7ztamW1CtQ6008Gc+SLJS6GKupfH/sCgFKpUfNdiEnZyA8jOiab2jjQtLLnOGmxkT83Z7/Db 0QQg0InvLlVajek80lkFRGwniRVV8Q8vx+Tdj1fTLYQ6e2eFkP3H8uDMgJjvteI64i4H8dY1/ PG/J4YwoVbPjVAH3tF2B4Gt0b4t1VtPnhiv5ybHwMicOo1KC8A03qyGUrwLdkUP9hcrOv0ntd SjsiI/j8E0q0q/fX16eSak8S7oEKZNjCiVLkEShlvFV9Bx1wQknx List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------67DE22238B6CE2697DD4B7A8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 30.03.21 21:46, Anton Voloshin wrote: > Hello. > > While browsing character set collation documentation [1] > I've found myself a bit puzzled by unfamiliar terminology: > > of course a domain over a collatable data type is collatable > > Of course, it only takes a search or two to find out the exact > meaning of "domain" in this context, but I think it would be useful > to make this word a link to the relevant section as a help for less > experienced users like myself. > > I've attached a patch that does that. Please let me know whether this > fix is desirable and correct (I'm new to Postgres) and if there is a > better way of suggesting an improvement for the documentation. > > [1] https://www.postgresql.org/docs/current/collation.html > It's likely that the term "domain" within an SQL context confuse some people. An additional remark in the glossary concerning the SQL and IP meaning may be helpful. -- Jürgen Purtz --------------67DE22238B6CE2697DD4B7A8 Content-Type: text/x-patch; charset=UTF-8; name="collation-domains-link-02.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="collation-domains-link-02.patch" diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index 1b00e543a6..300a0d83d4 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -346,7 +346,8 @@ initdb --locale=sv_SE collation. (The built-in collatable data types are text, varchar, and char. User-defined base types can also be marked collatable, and of course - a domain over a collatable data type is collatable.) If the + a domain over a collatable data type + is collatable.) If the expression is a column reference, the collation of the expression is the defined collation of the column. If the expression is a constant, the collation is the default collation of the data type of the diff --git a/doc/src/sgml/glossary.sgml b/doc/src/sgml/glossary.sgml index 41f3e5ee86..a7a0e35ac5 100644 --- a/doc/src/sgml/glossary.sgml +++ b/doc/src/sgml/glossary.sgml @@ -508,6 +508,27 @@ + + Domain (Internet) + + + A realm to administer certain Internet resources. + + + + + + Domain (SQL) + + + A user-defined data type that is based on another underlying data type. + + + For more information, see . + + + + Durability --------------67DE22238B6CE2697DD4B7A8--