Re: BUG #13762: server will crash after superuser alter function and set client_encoding - Mailing list pgsql-bugs

From Haribabu Kommi
Subject Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Date
Msg-id CAJrrPGc2n_u+P7CNv7ius7W1xp1LFe6UqQ31+zngWxOOK496bQ@mail.gmail.com
Whole thread Raw
In response to BUG #13762: server will crash after superuser alter function and set client_encoding  (funnyxj@qq.com)
Responses =?gb18030?B?u9i4tKO6IFtCVUdTXSBCVUcgIzEzNzYyOiBzZXJ2?= =?gb18030?B?ZXIgd2lsbCBjcmFzaCBhZnRlciBzdXBlcnVzZXIg?= =?gb18030?B?YWx0ZXJmdW5jdGlvbiBhbmQgc2V0IGNsaWVudF9l?= =?gb18030?B?bmNvZGluZw==?=  ("笑见江湖" <funnyxj@qq.com>)
List pgsql-bugs
On Mon, Nov 9, 2015 at 9:41 PM,  <funnyxj@qq.com> wrote:
> 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;

I am not able to reproduce this issue.

[kommih@localhost bin]$ ./psql postgres
psql (9.4.5)
Type "help" for help.

postgres=# alter function koi8r_to_utf8(integer, integer, cstring, internal,
integer) set work_mem = default ;
ALTER FUNCTION
postgres=# set client_encoding = 'koi8';
SET
postgres=# select 1;
 ?column?
----------
        1
(1 row)


Regards,
Hari Babu
Fujitsu Australia

pgsql-bugs by date:

Previous
From: funnyxj@qq.com
Date:
Subject: BUG #13762: server will crash after superuser alter function and set client_encoding
Next
From: Tom Lane
Date:
Subject: Re: BUG #13762: server will crash after superuser alter function and set client_encoding