pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jiří Pavlovský <jiri@pavlovsky.eu>
Cc: rob stone <floriparob@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: libpq and mysterious "invalid byte sequence for encoding UTF8".
Date: Tue, 02 Feb 2021 10:28:32 -0500
Message-ID: <3715069.1612279712@sss.pgh.pa.us> (raw)
In-Reply-To: <a2a995a2-8b2f-d0ca-7b53-f79d68645ab4@pavlovsky.eu>
References: <8b88f867-d0d0-6deb-8f13-48853a57080a@pavlovsky.eu>
	<3335118.1612191322@sss.pgh.pa.us>
	<8c67bf16-e267-a40c-25da-ebc646d0753d@pavlovsky.eu>
	<23edd5119fad0d4fc358123a51a0158b05fabb8b.camel@gmail.com>
	<3597100.1612234425@sss.pgh.pa.us>
	<a2a995a2-8b2f-d0ca-7b53-f79d68645ab4@pavlovsky.eu>

=?UTF-8?B?SmnFmcOtIFBhdmxvdnNrw70=?= <jiri@pavlovsky.eu> writes:
> Client and server encoding is UTF8. Locales are set to C.UTF8.

If lc_messages is C then no translation of error strings would happen,
so that theory goes out the window.  Oh well.

Perhaps you could attach gdb to the backend and get a stack trace
from the call to errfinish?

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend

			regards, tom lane





view thread (7+ messages)

Message-ID: <3715069.1612279712@sss.pgh.pa.us>
Permalink:  ../3715069.1612279712@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3715069.1612279712@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jiri@pavlovsky.eu, floriparob@gmail.com
  Subject: Re: libpq and mysterious "invalid byte sequence for encoding UTF8".
  In-Reply-To: <3715069.1612279712@sss.pgh.pa.us>
  References: <8b88f867-d0d0-6deb-8f13-48853a57080a@pavlovsky.eu> <3335118.1612191322@sss.pgh.pa.us> <8c67bf16-e267-a40c-25da-ebc646d0753d@pavlovsky.eu> <23edd5119fad0d4fc358123a51a0158b05fabb8b.camel@gmail.com> <3597100.1612234425@sss.pgh.pa.us> <a2a995a2-8b2f-d0ca-7b53-f79d68645ab4@pavlovsky.eu> <3715069.1612279712@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox