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 1vKgnu-004us9-0P for psycopg@arkaria.postgresql.org; Sun, 16 Nov 2025 17:44:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vKgms-00B5Wu-1w for psycopg@arkaria.postgresql.org; Sun, 16 Nov 2025 17:43:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vKgms-00B5Wl-1J for psycopg@lists.postgresql.org; Sun, 16 Nov 2025 17:43:42 +0000 Received: from smtp91.ord1d.emailsrvr.com ([184.106.54.91]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vKgmp-0084Hy-2O for psycopg@lists.postgresql.org; Sun, 16 Nov 2025 17:43:41 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp4.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id A409C40239; Sun, 16 Nov 2025 12:43:37 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.4\)) Subject: Re: Overriding default adapters in psycopg From: Christophe Pettus In-Reply-To: Date: Sun, 16 Nov 2025 09:43:06 -0800 Cc: psycopg@lists.postgresql.org Content-Transfer-Encoding: 7bit Message-Id: References: To: Adrian Klaver X-Mailer: Apple Mail (2.3776.700.51.11.4) X-Classification-ID: 72ef75a2-b4aa-4e6a-8f60-ac315f2cf50d-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 16, 2025, at 09:30, Adrian Klaver wrote: > > https://www.psycopg.org/psycopg3/docs/api/abc.html#psycopg.abc.Dumper.dump > > I believe it should be something like: > > psycopg.adapters.register_dumper(, CyanJSONBDumper) Thank you!