BUG #13762: server will crash after superuser alter function and set client_encoding

From: funnyxj(at)qq(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13762: server will crash after superuser alter function and set client_encoding
Date: 2015-11-09 10:41:25
Message-ID: 20151109104125.2569.45365@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13762
Logged by: funnyxj
Email address: funnyxj(at)qq(dot)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.
!>

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Haribabu Kommi 2015-11-09 12:24:24 Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Previous Message digoal 2015-11-09 08:10:50 BUG #13760: order by . offset .. limit bug? when order by column has same value