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

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: funnyxj(at)qq(dot)com
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Date: 2015-11-09 12:24:24
Message-ID: CAJrrPGc2n_u+P7CNv7ius7W1xp1LFe6UqQ31+zngWxOOK496bQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-11-09 14:45:54 Re: BUG #13762: server will crash after superuser alter function and set client_encoding
Previous Message funnyxj 2015-11-09 10:41:25 BUG #13762: server will crash after superuser alter function and set client_encoding