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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kai(dot)kratz(at)googlemail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: 2018-08-15 13:41:30
Message-ID: 4031.1534340490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?utf-8?q?PG_Bug_reporting_form?= <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-08-15 13:41:57 BUG #15328: postgres segfaults on ALTER OPERATOR ... SET SCHEMA ...
Previous Message Sergei Kornilov 2018-08-15 13:34:06 Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...