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.96) (envelope-from ) id 1wEctG-004Dhp-0r for pgsql-general@arkaria.postgresql.org; Mon, 20 Apr 2026 00:53:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wEctE-00H3dY-2d for pgsql-general@arkaria.postgresql.org; Mon, 20 Apr 2026 00:53:28 +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.96) (envelope-from ) id 1wEctD-00H3dP-2E for pgsql-general@lists.postgresql.org; Mon, 20 Apr 2026 00:53:28 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wEct9-00000001qRH-3Pw1 for pgsql-general@lists.postgresql.org; Mon, 20 Apr 2026 00:53:26 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id AE385EC0281; Sun, 19 Apr 2026 20:53:22 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sun, 19 Apr 2026 20:53:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=fm1; t=1776646402; x=1776732802; bh=zxtQwvrRzvGieAZtkeE/uNHCUUQDOOizyVFf7RSirfs=; b= D8vHmgOFhQpoY51P8YpdIelX7uZMoZqs6xLElei4FZMiRvI27DJ+0lJt9AhqfwLD Cb1wRHZ3gdE2SfSn0/hSYcrzy9xG++OmSbPvBNMtpFb1pSwFVt6CZCPNA3x/1pZ7 HhceoHe2inT4Xbgj/CZ8jic24DLlo8S6Kt+Zn57Tf8RQ4ByKokQudnpSOt5Lcdx7 ITcTQYUeSILrt8upwurkEpjVL8ltmOWxJSlSDBT/gQtnbdvmTr4JoCefm8FdRUFH INNynBzbgr9AyykY3e2vLHY0Kdv+OEo79CAVBxvY/CXLCXe9tZwbRGJmRiM8sKh/ 1+Zvv+saDU+4c66HGk5odw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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-sender:x-me-sender:x-sasl-enc; s=fm2; t=1776646402; x= 1776732802; bh=zxtQwvrRzvGieAZtkeE/uNHCUUQDOOizyVFf7RSirfs=; b=S 2j/zg62Rwpz7zERaOugwoeLpQWYceCZuXfaXY1Jj/yVbmDajxaCuPvzGjg9987VW v7rFxhSJ+kmZD0GwbV/FK38UmYrJ/rGwDH3+0BBpyLvOC2yuqmCa+bV874oUIZGj 5DOq1MldmXC5fNlCcecatPtSvfeD08+FguXbN8A/ZEM31sOAMwPCfYMJD33ZCKpw 6tj1Wc9QKpDbCuEuX1dlAEB4OgoAyKRx5BNnTvAGzuePNa/pcsiEJSgAVMcI5Rh0 cNHgjCxw35ESb6YJfpZvN4wLnuesiro7pu3CGJsjUJRacF2Z6RFJgnS4uDQNcqRs Hr5zhD/PBCTNbprGrEfDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdehjedufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpefgudefkefhveefleevieeuveehvdduudekuddvvdelhfeu ueeijedtuedvvedvueenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepfedpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtohepihhkohhrohhttddusehgmhgrihhlrdgtohhm pdhrtghpthhtohepuggrvhhiugdrghdrjhhohhhnshhtohhnsehgmhgrihhlrdgtohhmpd hrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghs qhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 19 Apr 2026 20:53:21 -0400 (EDT) Message-ID: <5f263a8a-9c30-4118-b410-6e25eafde156@aklaver.com> Date: Sun, 19 Apr 2026 17:53:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: List of encodings To: Igor Korot Cc: "David G. Johnston" , "pgsql-generallists.postgresql.org" References: <71cd4015-9002-4173-bd9a-075f7afb3c20@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: 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 4/19/26 5:19 PM, Igor Korot wrote: > Hi, Adrian, > > On Sun, Apr 19, 2026 at 4:21 PM Adrian Klaver wrote: >>> What I noticed is that all encodings are default, as they all have 't' >>> in the last column. >>> >>> It's a little confusing... >> >> Not if you read the docs: >> >> https://www.postgresql.org/docs/current/catalog-pg-conversion.html >> >> "The catalog pg_conversion describes encoding conversion functions. See >> CREATE CONVERSION for more information." >> >> https://www.postgresql.org/docs/current/sql-createconversion.html >> >> "Conversions that are marked DEFAULT can be used for automatic encoding >> conversion between client and server. To support that usage, two >> conversions, from encoding A to B and from encoding B to A, must be >> defined." > > From the https://www.postgresql.org/docs/current/catalog-pg-conversion.html: > > [quote] > > condefault bool > > True if this is the default conversion > [/quote] > > So, what info do I trust? Both. In your setup all the installed encoding conversion functions are also the default for those conversions. It is possible to create/install a conversion function that is not the default. > > Thank you. > -- Adrian Klaver adrian.klaver@aklaver.com