1. alter function koi8r_to_utf8(integer, integer, cstring, internal, integer) set work_mem = '4MB';
2. set client_encoding = 'koi8';
3. select 1;
------------------ 原始邮件 ------------------
发件人: "Haribabu Kommi";<kommi.haribabu@gmail.com>;
发送时间: 2015年11月9日(星期一) 晚上8:24
收件人: "笑见江湖"<funnyxj@qq.com>;
抄送: "pgsql-bugs@postgresql.org"<pgsql-bugs@postgresql.org>;
主题: Re: [BUGS] BUG #13762: server will crash after superuser alterfunction and set client_encoding
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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs