| From: | Igor Korot <ikorot01(at)gmail(dot)com> |
|---|---|
| To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
| Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, 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 16:58:07 |
| Message-ID: | CA+FnnTy=3x--_si+jJ9+rYxX5LWTKuWEAbEf2QSr0HLiZ5BDCQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
So what is the best way to make it work?
Thank you.
On Sun, Dec 21, 2025 at 7:34 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
> On 12/21/25 03:56, Igor Korot wrote:
> > Hi, David,
> >
> > Attached is a script I ran on a server (from psql).
> >
> > The offending line is:
> >
> > CREATE TABLE abcß(id integer primary key, name text);
> >
> > Script ran successfully.
> >
> > Using the ODBC driver everything works. I didn't change anything in
> > the driver setup.
> > Same setup - Windows client connecting to Linux server.
>
> It is not the same setup, in your original question you are hand writing
> code not running a script through the ODBC driver. Best bet is the ODBC
> driver is picking up the client(Windows) encoding and passing it to the
> server. Crank up the logging on both ends, the ODBC driver and the
> Postgres server and see what is hitting the server when you use the driver.
>
> >
> > Any other info needed - please do tell.
> >
> > Thank you.
> >
> >
> > On Sat, Dec 20, 2025 at 11:47 PM David G. Johnston
> > <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-12-21 17:17:16 | Re: PQexecPrepared() question |
| Previous Message | Adrian Klaver | 2025-12-21 15:34:39 | Re: PQexecPrepared() question |