Thread: BUG #15329: postgres segfaults on ALTER DOMAIN ... SET SCHEMA ...

BUG #15329: postgres segfaults on ALTER DOMAIN ... SET SCHEMA ...

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      15329
Logged by:          Kai Kratz
Email address:      kai.kratz@googlemail.com
PostgreSQL version: 10.4
Operating system:   Ubuntu 18.04
Description:

docker-user=# CREATE SCHEMA test_schema;
CREATE SCHEMA
docker-user=# CREATE DOMAIN postal_code AS INT CHECK(VALUE > 0);
CREATE DOMAIN
docker-user=# ALTER DOMAIN postal_code 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.
!>