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 1o1EPd-0006Om-7l for pgsql-general@arkaria.postgresql.org; Tue, 14 Jun 2022 21:49:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o1EOb-0007nN-9e for pgsql-general@arkaria.postgresql.org; Tue, 14 Jun 2022 21:48:21 +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 1o1EOa-0007n3-VW for pgsql-general@lists.postgresql.org; Tue, 14 Jun 2022 21:48:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1EOY-0001AN-EY for pgsql-general@postgresql.org; Tue, 14 Jun 2022 21:48:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 25ELmGaJ156942; Tue, 14 Jun 2022 17:48:16 -0400 From: Tom Lane To: "David G. Johnston" cc: jian he , "pgsql-general@postgresql.org" Subject: Re: cast to domain with default collation issue. In-reply-to: References: <1432728.1653370431@sss.pgh.pa.us> <1543933.1653403358@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Thu, 09 Jun 2022 15:44:08 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <156940.1655243296.1@sss.pgh.pa.us> Date: Tue, 14 Jun 2022 17:48:16 -0400 Message-ID: <156941.1655243296@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Tue, May 24, 2022 at 7:42 AM Tom Lane wrote: >> Perhaps we could improve matters like this? >> - specified, the underlying data type's default collation is used. >> + specified, the domain has the same collation behavior as its >> + underlying data type. > +1 Pushed then, thanks for thinking about it. regards, tom lane