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

From Tom Lane
Subject Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date
Msg-id 4031.1534340490@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...  (Kai Kratz <kai.kratz@googlemail.com>)
List pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> pg-user=# CREATE SCHEMA test_schema;
> CREATE SCHEMA
> pg-user=# CREATE FUNCTION custom_eq(int, int)
> RETURNS BOOL
> LANGUAGE SQL IMMUTABLE AS
> $$
> SELECT $1 = $2;
> $$;
> CREATE FUNCTION
> pg-user=# ALTER FUNCTION custom_eq(int, int) SET SCHEMA test_schema;
> server closed the connection unexpectedly

Huh.  Works fine for me.  Is the server you're using custom-built?
If so, what build options did you use?  If not, where did you get
it from?  In either case, the output of pg_config might be useful.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Sergei Kornilov
Date:
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Next
From: PG Bug reporting form
Date:
Subject: BUG #15328: postgres segfaults on ALTER OPERATOR ... SET SCHEMA ...