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

Поиск
Список
Период
Сортировка
От funnyxj@qq.com
Тема BUG #13762: server will crash after superuser alter function and set client_encoding
Дата
Msg-id 20151109104125.2569.45365@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Список pgsql-bugs
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.
!>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: sumit_ghosh@persistent.co.in
Дата:
Сообщение: BUG #13759: Getting error while installing through Stackbuilder 3.1.1
Следующее
От: Haribabu Kommi
Дата:
Сообщение: Re: BUG #13762: server will crash after superuser alter function and set client_encoding