pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 笑见江湖 <funnyxj@qq.com>
To: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: 回复: [BUGS] BUG #13762: server will crash after superuser alterfunction and set client_encoding
Date: Tue, 10 Nov 2015 08:40:32 +0800
Message-ID: <tencent_0301359214D24BB55B5D9BCE@qq.com> (raw)
In-Reply-To: <CAJrrPGc2n_u+P7CNv7ius7W1xp1LFe6UqQ31+zngWxOOK496bQ@mail.gmail.com>
References: <20151109104125.2569.45365@wrigleys.postgresql.org>
	<CAJrrPGc2n_u+P7CNv7ius7W1xp1LFe6UqQ31+zngWxOOK496bQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.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

view thread (2+ messages)  latest in thread

Message-ID: <tencent_0301359214D24BB55B5D9BCE@qq.com>
Permalink:  ../tencent_0301359214D24BB55B5D9BCE@qq.com/
Also on:    postgresql.org/message-id/tencent_0301359214D24BB55B5D9BCE@qq.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: funnyxj@qq.com, kommi.haribabu@gmail.com
  Subject: Re: 回复: [BUGS] BUG #13762: server will crash after superuser alterfunction and set client_encoding
  In-Reply-To: <tencent_0301359214D24BB55B5D9BCE@qq.com>
  References: <20151109104125.2569.45365@wrigleys.postgresql.org> <CAJrrPGc2n_u+P7CNv7ius7W1xp1LFe6UqQ31+zngWxOOK496bQ@mail.gmail.com> <tencent_0301359214D24BB55B5D9BCE@qq.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox