Re: PQexecPrepared() question - Mailing list pgsql-general

From Laurenz Albe
Subject Re: PQexecPrepared() question
Date
Msg-id ebaca1066dfdf567d158fc48dce86a6fcc132988.camel@cybertec.at
Whole thread Raw
In response to Re: PQexecPrepared() question  (Igor Korot <ikorot01@gmail.com>)
List pgsql-general
On Thu, 2025-12-18 at 07:20 -0800, Igor Korot 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?

If I read the code correctly:

- if PGCLIENTENCODING is set in the environment of the client executable, that

- otherwise, if "client_encoding" is set on the server, that

- otherwise, SQL_ASCII

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: PQexecPrepared() question
Next
From: Laurenz Albe
Date:
Subject: Re: Dealing with SeqScans when Time-based Partitions Cut Over