Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vtoXg-00FPoi-3C for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2026 15:05:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vtoXf-00A8RH-2V for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Feb 2026 15:05:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vtoXf-00A8R7-1i for pgsql-bugs@lists.postgresql.org; Sat, 21 Feb 2026 15:05:11 +0000 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vtoXc-00000000ZrV-0K8i for pgsql-bugs@lists.postgresql.org; Sat, 21 Feb 2026 15:05:10 +0000 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-662f5c5507cso1953374eaf.3 for ; Sat, 21 Feb 2026 07:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1771686307; cv=none; d=google.com; s=arc-20240605; b=bPLuYAWGAaV/SUZcVXEwSzYMnjdTBbzj5d6IwMUQLdRWcV+ofRzvDbji1bOh+XkEWn 2s82cslKzaVdYhphA3L973YgWpROiKmdTP4J8chA86D99KQdJLY4fhtEomq0T3muW5CL k3+hAGbndjY2aoyIGhg9RqgWSInjnIXpKUciqKZX2uK0qv0Qs7T0hUIuODuIqrzyVhaQ P9fN5oIq0qusdXqSeGPuX4A2AiJmZxqzB6v8wDV1t9qs17SwtSS3l+w2dyky7ZYrtYs1 SSq1LJan4xElaZSaKio4kh8CP5+7NLs636bg1+h+9D4STFDZOFqnzRcHsLl7R8r4/QMK UY1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:dkim-signature; bh=cw1wVfKE40irBeymzcVq65lM89YU5re3SLb2HZxmLa0=; fh=dS/Pqa6sfc6bmxXe3iAezkEnwx6lf0wAZW1ei3BVsbk=; b=G84KvCAoQJWCALSbjmmXl97LOfEQG3kAFB5EZfcvvPPfq/8W0Jwl/5lmRo6ZBKnN5r 45yK2H0QkW6XKSZwrj9lp26vZns3glGGrnbQtOAXJpSjM8Rcj9hoHlGhXECPs5wbTiQF bb7aacs5BvBLxqU8fX34EIjOCtzQCg6oIH0i//uUPKoYxXdT8i2Vh8C7+herOu4y4R3r QT2ETpHtFjP1hPAMKY4K66AqqKatXlvHl9erDW+YVERaxHur70ABsQQxnZQf74kOoP8W w1nSu8FL+gufQoXaHm+wbs4lfT9RLoYd1AonGfUXis4qob/826iamnAk6hKvje67Om+z mEXw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771686307; x=1772291107; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cw1wVfKE40irBeymzcVq65lM89YU5re3SLb2HZxmLa0=; b=aMNbmbaObGtVL2YOnmsW6bdrWnf56vKi0SG0hiA5DB0fXTqZGF2qG1IISrnFhEYXc9 2gcUcO1duymi9Z10L3FWB6PFmF5drFyRFb73WdPzy0cs+32VHZBqCDYyHlIMRjnuOnPK DE9jPS+WsnpBqJabTdIyztHMWHh/F13XR/I71IPDkUjNlxkLOm3YpfixJ3Whj7P8RQg7 oY7GHVAeBDn93QRxlrSCRUqjoFwfHiAjaxV1+UGNxXoR7LzCTOvsTYkqi3m+wOoU329c BGcsHqbaPj9duJeFRkjTzLp4Rk8JNnetAl2U8O6ESxqfyY61MbUhyK9XHU+YAAPNOF3W uu1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771686307; x=1772291107; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cw1wVfKE40irBeymzcVq65lM89YU5re3SLb2HZxmLa0=; b=N1CeCFyDwGzmdvDU05sTkeY8k36rDxVsf+IQVAzr/Oqt6P74+JFLkGhFSkel1ceXl2 7+9Y1D+v1iDfTCaWM8uWSmVoQ+4XqwvXwPQ5V7/7pMihh4aUPe5ICeqluJVDDY3bJxR1 jlZIm2h3sCA9GQoyTV4SxZyO2ddLz8mOTNoKp+VMX8hcxGY4hk0YFtLUrloEa1ngLr/w mAFF7qWMworOI1IPlnvCBBvY3GJrxM6v0vmNwLyahDA7RiKP8BBlT9o+kP+GzvNE+Ey6 wDwrorZNIc7ytTv/FUWYTjExP1/34gJngcXBjuzRnZlwk/kK3PuiR4T50Ev6ip275Dy4 QE9A== X-Gm-Message-State: AOJu0YxLt3US3Z/LLrBiglqoPER1VMeXoOX4zmZsqSMg2HXC+KZcs6Wr jciAkniQmrQ1Xs6zqfHXlH+bFTV8AUAWsJOEOFkMLFE1+xfpDF8UoKXKrzEB0xq1e00O79R+epn 8aM+PfjIXOotk/ufiC1BXXBMp940tz/s= X-Gm-Gg: AZuq6aI+nplmeGalpAntJcI2l8xxGT2Wf1dMUA8xnAeNsDHknewIZXQ+TRUVnt6pHKl 4Oo7uR6fnVH96FkAUfSe1vAqSQSuvm5RnuJiNGvk+uu7VImfxjz30s8vMyTHXOxOEsK6WAnAP8j haLNB2M2VQKumYI+3hpOFM+1kdae+PTl7OZler88LWawjm39pvV2Id8oFiMbXRBaq2EN/8PTrfU ltNmuDtqniC9L0y6rd0Og13BmNjAucSOfhoLE/Ls/6Kgb/PcNhoMSYa2rtVs/5a7/6SyoZ6QC84 w0xfTP1K X-Received: by 2002:a05:6820:4511:b0:672:4760:9579 with SMTP id 006d021491bc7-679c44e3411mr1621982eaf.46.1771686307041; Sat, 21 Feb 2026 07:05:07 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6802:1d9b:10b0:61e:ab9b:1133 with HTTP; Sat, 21 Feb 2026 07:05:06 -0800 (PST) In-Reply-To: References: From: "David G. Johnston" Date: Sat, 21 Feb 2026 08:05:06 -0700 X-Gm-Features: AaiRm51qkDy4TNROotSQxSwXB_kEg1UstLLpnQzGRJKDBLy1-fAdzDt2eaxNQ5A Message-ID: Subject: Re: BUG: SUBSTRING on TOASTed text returns "invalid byte sequence for encoding UTF8: 0xc3" To: ludovitkramar Cc: "pgsql-bugs@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000fc16dd064b56dc23" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fc16dd064b56dc23 Content-Type: text/plain; charset="UTF-8" On Friday, February 20, 2026, ludovitkramar wrote: > Disclosure: This bug reproduction and report were generated with the > assistance of Claude Opus 4.6, and reviewed by me. > > > PostgreSQL version: 18.2-1 (Arch Linux package) > > SELECT version(); > PostgreSQL 18.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 15.2.1 > 20260209, 64-bit > You should modify your prompt to include looking for current news and bug reports on the PostgreSQL website before writing up a new report. https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-26-2026-3241/ David J. --000000000000fc16dd064b56dc23 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Friday, February 20, 2026, ludovitkramar <ludovitkramar@proton.me> wrote:
Disclosure: This= bug reproduction and report were generated with the
assistance of Claude Opus 4.6= , and reviewed by me.


PostgreSQL version: 18.2= -1 (Arch Linux package)

SELECT version();
=C2=A0 PostgreSQL 18.2 on x86_64-pc-linux-gnu, compil= ed by gcc (GCC) 15.2.1 20260209, 64-bit

You should modify your prompt to include looking= for current news and bug reports on the PostgreSQL website before writing = up a new report.


David J.
=
=20
=20
=20
--000000000000fc16dd064b56dc23--