Re: PQexecPrepared() question

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Igor Korot <ikorot01@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-12-18T15:40:31Z
Lists: pgsql-general
On Thu, Dec 18, 2025 at 8:20 AM Igor Korot <ikorot01@gmail.com> wrote:

> Imagine following scenario:
>
> I have 2 machines. One is running PG server on *nix. Second is my app on
> Windows.
>
> An application starts for the first time.
>
> What is “clientencoding in this case?
>

This day in age, probably UTF-8; which is what most servers are
initialized using.  If you aren't having issues with encoding I suggest you
just take for granted that the defaults work in 99% of the cases.  If you
are having issues, share the details.

David J.