Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvjub-000257-OR for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Nov 2015 10:42:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zvjub-0005Zl-AA for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Nov 2015 10:42:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zvjty-0004CP-AB for pgsql-bugs@postgresql.org; Mon, 09 Nov 2015 10:42:18 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zvjtq-0000GB-JI for pgsql-bugs@postgresql.org; Mon, 09 Nov 2015 10:42:17 +0000 MIME-Version: 1.0 Subject: BUG #13762: server will crash after superuser alter function and set client_encoding To: pgsql-bugs@postgresql.org From: funnyxj@qq.com Date: Mon, 09 Nov 2015 10:41:25 +0000 Message-ID: <20151109104125.2569.45365@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13762 Logged by: funnyxj Email address: funnyxj@qq.com PostgreSQL version: 9.4.5 Operating system: linux Description: When superuser execute the following statements, the server will crash, it may be a bug. statements: 1. alter function koi8r_to_utf8(integer, integer, cstring, internal, integer) set work_mem = default ; 2. set client_encoding = 'koi8'; 3. select 1; then the error log is: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. !> -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs