Re: Why that query fails? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Why that query fails?
Date
Msg-id 082a4816-1f4a-4f52-bef6-97c194eebad6@aklaver.com
Whole thread
In response to Why that query fails?  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Why that query fails?
List pgsql-general
On 4/26/26 1:15 PM, Igor Korot wrote:
> Hi, ALL,
> [quote]
> Thread 1 "dbhandler" hit Breakpoint 1,

> 66                errorMsg.push_back( L"Error executing query: " + err );
> (gdb) p err
> $2 = L"ERROR:  invalid byte sequence for encoding \"UTF8\":

I would think the above is a clue.

Are you sure the value you are passing to the parameter is UTF8?

> 0x00\nCONTEXT:  unnamed portal parameter $1\n"
> (gdb)
> [/quote]
> 
> What am I doing wrong?
> 
> Thank you.
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Why that query fails?
Next
From: Igor Korot
Date:
Subject: Re: Why that query fails?