Re: PQexecPrepared() question

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PQexecPrepared() question
Date: 2025-12-21 05:47:51
Message-ID: CAKFQuwYSM2xMxX+v8LAhJFG3kB1O-VBtV3eo3fj0ag3rGJ=ehQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, December 18, 2025, Igor Korot <ikorot01(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2025-12-21 06:32:46 Re: PQexecPrepared() question
Previous Message Tom Lane 2025-12-21 05:39:23 Re: PQexecPrepared() question