public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Fwd: PQexecPrepared() question
Date: Fri, 19 Dec 2025 13:21:11 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANzqJaCxGFizjSbSGY=0MEK4WR6aqc62YR5mWT3rBzktG9FRXg@mail.gmail.com>
References: <CA+FnnTygjVvSmzTHnvteuL4KEC=0P_+mF8Kn84JtNGZWUGxpUA@mail.gmail.com>
	<[email protected]>
	<CA+FnnTxO6kam9=mRonvsnUA1OxJxdDdQsj+ubdgFNNb9b3WMPQ@mail.gmail.com>
	<[email protected]>
	<CA+FnnTzE34VJWR7xkymaKEwXiiQ8j3o03m0+qcQsRr2JkRQLwQ@mail.gmail.com>
	<[email protected]>
	<CA+FnnTz5tcJEL12ir1nxe9q75rxaAdfBtcFUNiD4R5gW_JR23A@mail.gmail.com>
	<CA+FnnTwqKJQ-AnDHLzmhYra5QaLfTmEJ9=yw+bxADA0=bp1z8g@mail.gmail.com>
	<[email protected]>
	<CANzqJaCxGFizjSbSGY=0MEK4WR6aqc62YR5mWT3rBzktG9FRXg@mail.gmail.com>

On 12/19/25 11:12, Ron Johnson wrote:
> On Fri, Dec 19, 2025 at 1:52 PM Tom Lane <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Igor Korot <[email protected] <mailto:[email protected]>> writes:
>      > But what is the purpose of setting client encoding on the server?
>     It is for
>      > the client
> 
>     No, it's to tell the server what encoding to transmit to the client
>     (as well as what encoding strings coming from the client are in).
> 
> 
> 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?

It is explained here:

https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-AUTOMATIC-CONVERSION
> 
> -- 
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!


-- 
Adrian Klaver
[email protected]






view thread (19+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Fwd: PQexecPrepared() question
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox