回复: [BUGS] BUG #13762: server will crash after superuser alterfunction and set client_encoding

From: 笑见江湖 <funnyxj(at)qq(dot)com>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org <pgsql-bugs(at)postgresql(dot)org>
Subject: 回复: [BUGS] BUG #13762: server will crash after superuser alterfunction and set client_encoding
Date: 2015-11-10 00:40:32
Message-ID: tencent_0301359214D24BB55B5D9BCE@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sorry, the correct statements is:

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(dot)haribabu(at)gmail(dot)com>;
发送时间: 2015年11月9日(星期一) 晚上8:24
收件人: "笑见江湖"<funnyxj(at)qq(dot)com>;
抄送: "pgsql-bugs(at)postgresql(dot)org"<pgsql-bugs(at)postgresql(dot)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(at)qq(dot)com> wrote:
> 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;

I am not able to reproduce this issue.

[kommih(at)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(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message 笑见江湖 2015-11-10 00:51:08 回复: [BUGS] BUG #13762: server will crash after superuser alter function and set client_encoding
Previous Message thanh.nguyen 2015-11-09 22:25:03 BUG #13763: Failed to re-install Posgresql 9.1