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 1vrcXY-00EWtG-0L for pgsql-bugs@arkaria.postgresql.org; Sun, 15 Feb 2026 13:52:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrcXW-001i2K-2t for pgsql-bugs@arkaria.postgresql.org; Sun, 15 Feb 2026 13:51:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vrRKy-000gCE-1c for pgsql-bugs@lists.postgresql.org; Sun, 15 Feb 2026 01:54:16 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vrRKu-00000000fkf-0y7R for pgsql-bugs@lists.postgresql.org; Sun, 15 Feb 2026 01:54:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=gqBLY2HOn8uByv7X2XviqbohEcaLRUC39I4ucYlVXt0=; b=Z1mtj/DfPTBD67+SvdifL436Iz Ay4hSyaSaGr8dDXuuG22qADyDL83gsn4q5JhPkVA4KZElgeO0sl1j3iMGaWK3OKKxAfE8QhLJHltm F06XXLttXF657qAaoQC5Qag+5FufoGmpb2/8J2+7xNgNKS9ssk6MURruvX6JGx7LeCuDpWvzprTtI W0qugnSpkzE2Ko1Jwv9dLDnihS6LncoNLvcMWOhL/M3Eyysiyrt/zRyupo26z5IdvDR3U+OOm1uKA Vnu3W7EQpeJO23PpVXsFzpDFz6Z24T47tMVWGRFGKVPxKeNLbU9LZMohOQ/HHSqDmR17Hbe6qAb9b hiQ3saFQ==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vrRKn-002GW4-2C for pgsql-bugs@lists.postgresql.org; Sun, 15 Feb 2026 01:54:07 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrRKk-005kW1-1Z for pgsql-bugs@lists.postgresql.org; Sun, 15 Feb 2026 01:54:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19410: Cannot ser client_encoding To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: 615695028@qq.com Reply-To: 615695028@qq.com, pgsql-bugs@lists.postgresql.org Date: Sun, 15 Feb 2026 01:53:30 +0000 Message-ID: <19410-ae5020230ee6369b@postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following bug has been logged on the website: Bug reference: 19410 Logged by: Guest-615695028 Email address: 615695028@qq.com PostgreSQL version: 18.1 Operating system: Microsoft Windows [=E7=89=88=E6=9C=AC 10.0.26200.7840] Description: =20 PS C:\> psql -U postgres Password for user postgres: psql (18.1) Type "help" for help. postgres=3D# SHOW client_encoding; client_encoding ----------------- GBK (1 row) postgres=3D# SET client_encoding=3D'UTF8'; SET postgres=3D# SHOW client_encoding; client_encoding ----------------- UTF8 (1 row) postgres=3D# \q PS C:\> psql -U postgres Password for user postgres: psql (18.1) Type "help" for help. postgres=3D# SHOW client_encoding; client_encoding ----------------- GBK (1 row) postgres=3D#