Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: "kai(dot)kratz(at)googlemail(dot)com" <kai(dot)kratz(at)googlemail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: 2018-08-15 13:34:06
Message-ID: 2314951534340046@myt5-184376c2d7f8.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello
Please try on latest minor 10.5 version. I can not reproduce with my 10.5 version.
Also show your log at the time of error.

postgres=# CREATE SCHEMA test_schema;
CREATE SCHEMA
postgres=# CREATE FUNCTION custom_eq(int, int)
postgres-# RETURNS BOOL
postgres-# LANGUAGE SQL IMMUTABLE AS
postgres-# $$
postgres$# SELECT $1 = $2;
postgres$# $$;
CREATE FUNCTION
postgres=# ALTER FUNCTION custom_eq(int, int) SET SCHEMA test_schema;
ALTER FUNCTION
postgres=# select test_schema.custom_eq(1,2);
custom_eq
-----------
f

regards, Sergei

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-08-15 13:41:30 Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Previous Message PG Bug reporting form 2018-08-15 13:22:34 BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...