Re: Why that query fails?
Greg Sabino Mullane <htamfids@gmail.com>
From: Greg Sabino Mullane <htamfids@gmail.com>
To: Igor Korot <ikorot01@gmail.com>
Cc: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-04-26T22:17:04Z
Lists: pgsql-general
You are using binary format, but your length calculation is wrong: int len1 = (int) name.length() * sizeof( wchar_t ); Just use text format for a query like this.