From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: kai.kratz@googlemail.com
Subject: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
Date: Wed, 15 Aug 2018 13:22:34 +0000
Message-ID: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15327
Logged by: Kai Kratz
Email address: kai.kratz@googlemail.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.
!>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, kai.kratz@googlemail.com
Subject: Re: BUG #15327: postgres segfaults on ALTER FUNCTION ... SET SCHEMA ...
In-Reply-To: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org>
References: <153433935452.10433.7683077498094467603@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox