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

From David G. Johnston
Subject Re: PQexecPrepared() question
Date
Msg-id CAKFQuwYSM2xMxX+v8LAhJFG3kB1O-VBtV3eo3fj0ag3rGJ=ehQ@mail.gmail.com
Whole thread Raw
In response to Re: PQexecPrepared() question  (Igor Korot <ikorot01@gmail.com>)
Responses Re: PQexecPrepared() question
Re: PQexecPrepared() question
List pgsql-general


On Thursday, December 18, 2025, Igor Korot <ikorot01@gmail.com> wrote:

Using my setup above and assumng my Win locale is en_US.UTF8

This seems like an incorrect assumption. The server is expecting UTF8 yet you are passing it data that is not valid UTF8 bytes.  I infer thus your Windows encoding is thus not UTF8.

Suggest you make an even smaller, simpler, and self-contained reproducer and include how you are executing the code.  You’ve not provided sufficient detail for someone else to debug your problem.

David J.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQexecPrepared() question
Next
From: Igor Korot
Date:
Subject: Re: PQexecPrepared() question