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

From David G. Johnston
Subject Re: PQexecPrepared() question
Date
Msg-id CAKFQuwZaf2quGaqsGAj4+rVVCebOwU3JjbMUJPxxj6NeF_O_gA@mail.gmail.com
Whole thread Raw
In response to Re: PQexecPrepared() question  (Igor Korot <ikorot01@gmail.com>)
Responses Re: PQexecPrepared() question
List pgsql-general
On Thu, Dec 18, 2025 at 8:20 AM Igor Korot <ikorot01@gmail.com> wrote:
Imagine following scenario:

I have 2 machines. One is running PG server on *nix. Second is my app on Windows.

An application starts for the first time.

What is “clientencoding in this case?

This day in age, probably UTF-8; which is what most servers are initialized using.  If you aren't having issues with encoding I suggest you just take for granted that the defaults work in 99% of the cases.  If you are having issues, share the details.

David J.

pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: PQexecPrepared() question
Next
From: Matthew Planchard
Date:
Subject: Dealing with SeqScans when Time-based Partitions Cut Over