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 1lp141-0003AZ-H5 for pgsql-general@arkaria.postgresql.org; Fri, 04 Jun 2021 04:04:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lp140-0008Du-EW for pgsql-general@arkaria.postgresql.org; Fri, 04 Jun 2021 04:04:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lp140-0008Dl-0L for pgsql-general@lists.postgresql.org; Fri, 04 Jun 2021 04:04:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lp13y-0002MN-1G for pgsql-general@lists.postgresql.org; Fri, 04 Jun 2021 04:04:03 +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 1544401F118877; Fri, 4 Jun 2021 00:04:00 -0400 From: Tom Lane To: =?iso-2022-jp?B?GyRCNVdMZyEhMCYbKEI=?= cc: pgsql-general@lists.postgresql.org Subject: Re: Please tell me about character code conversion. In-reply-to: <002f01d758f2$3e139680$ba3ac380$@ryobi.co.jp> References: <002f01d758f2$3e139680$ba3ac380$@ryobi.co.jp> Comments: In-reply-to =?iso-2022-jp?B?GyRCNVdMZyEhMCYbKEI=?= message dated "Fri, 04 Jun 2021 12:32:27 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <118875.1622779440.1@sss.pgh.pa.us> Date: Fri, 04 Jun 2021 00:04:00 -0400 Message-ID: <118876.1622779440@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?iso-2022-jp?B?GyRCNVdMZyEhMCYbKEI=?= writes: > I would like to set my own character code conversion as DEFAULT CONVERSION. That's not an area of functionality that ever got fleshed out completely. What you're thinking about sounds like it'd work, but I'd strongly suggest experimenting in a scratch database before doing it with irreplaceable data. Keep in mind also that pg_dump/pg_upgrade will absolutely not reproduce this configuration for you. regards, tom lane