Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ... - Mailing list pgsql-bugs

From Sergei Kornilov
Subject Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date
Msg-id 2314951534340046@myt5-184376c2d7f8.qloud-c.yandex.net
Whole thread Raw
In response to BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...  (PG Bug reporting form <noreply@postgresql.org>)
List 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


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Next
From: Tom Lane
Date:
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...