BUG #15328: postgres segfaults on ALTER OPERATOR ... SET SCHEMA ...

Started by PG Bug reporting formover 7 years ago2 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 15328
Logged by: Kai Kratz
Email address: kai.kratz@googlemail.com
PostgreSQL version: 10.4
Operating system: Ubuntu18.04
Description:

docker-user=# CREATE SCHEMA test_schema;
CREATE SCHEMA
docker-user=# CREATE FUNCTION int_eq(int, int)
RETURNS BOOL
LANGUAGE SQL IMMUTABLE AS
$$
SELECT $1 = $2;
$$;
CREATE FUNCTION
docker-user=# CREATE OPERATOR = (leftarg = int, rightarg = int, procedure =
int_eq);
CREATE OPERATOR
docker-user=# ALTER OPERATOR = (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.
!>

#2Jeff Janes
jeff.janes@gmail.com
In reply to: PG Bug reporting form (#1)
Re: BUG #15328: postgres segfaults on ALTER OPERATOR ... SET SCHEMA ...

On Wed, Aug 15, 2018 at 9:41 AM, PG Bug reporting form <
noreply@postgresql.org> wrote:

The following bug has been logged on the website:

Bug reference: 15328
Logged by: Kai Kratz
Email address: kai.kratz@googlemail.com
PostgreSQL version: 10.4
Operating system: Ubuntu18.04
Description:

docker-user=# CREATE SCHEMA test_schema;
CREATE SCHEMA
docker-user=# CREATE FUNCTION int_eq(int, int)
RETURNS BOOL
LANGUAGE SQL IMMUTABLE AS
$$
SELECT $1 = $2;
$$;
CREATE FUNCTION
docker-user=# CREATE OPERATOR = (leftarg = int, rightarg = int, procedure =
int_eq);
CREATE OPERATOR
docker-user=# ALTER OPERATOR = (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.
!>

I can't reproduce this, or your subsequent report with domains, either.

How did you install PostgreSQL? Can you give output of pg_config?