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 1vWfzX-007CZ5-29 for pgsql-general@arkaria.postgresql.org; Fri, 19 Dec 2025 19:18:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vWfzW-008vH4-22 for pgsql-general@arkaria.postgresql.org; Fri, 19 Dec 2025 19:18:19 +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 1vWfzW-008vGu-0x for pgsql-general@lists.postgresql.org; Fri, 19 Dec 2025 19:18:19 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vWfzV-001YZv-2C for pgsql-general@lists.postgresql.org; Fri, 19 Dec 2025 19:18:18 +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 5BJJIGYq3370709; Fri, 19 Dec 2025 14:18:16 -0500 From: Tom Lane To: Ron Johnson cc: "pgsql-generallists.postgresql.org" Subject: Re: Fwd: PQexecPrepared() question In-reply-to: References: <2547700.1765940917@sss.pgh.pa.us> <9a0ce31a49f149d8d982d2b359095560655f781e.camel@cybertec.at> <3360047.1766170334@sss.pgh.pa.us> Comments: In-reply-to Ron Johnson message dated "Fri, 19 Dec 2025 14:12:37 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3370707.1766171895.1@sss.pgh.pa.us> Date: Fri, 19 Dec 2025 14:18:15 -0500 Message-ID: <3370708.1766171895@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron Johnson writes: > If there's an encoding mismatch between the server and client, does > "something" (like a PQ driver) convert text in the data stream from the > source encoding to the target encoding? The server does that itself. regards, tom lane