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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: kai(dot)kratz(at)googlemail(dot)com
Subject: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: 2018-08-15 13:22:34
Message-ID: 153433935452.10433.7683077498094467603@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15327
Logged by: Kai Kratz
Email address: kai(dot)kratz(at)googlemail(dot)com
PostgreSQL version: 10.4
Operating system: Ubunt18.04
Description:

I observed a 100% repeatable crash when doing the following:
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
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!>

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergei Kornilov 2018-08-15 13:34:06 Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Previous Message Stephen Frost 2018-08-15 11:10:07 Re: BUG #15324: Non-deterministic behaviour from parallelised sub-query