Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash
Date
Msg-id CAB7nPqTtWi3S7ew6aCQqkHiUos5n=jigS=GMpV2vEbQCfU1qqA@mail.gmail.com
Whole thread Raw
In response to [BUGS] BUG #14866: The generated constraint in the typed table causes theserver to crash  (gomer94@yandex.ru)
Responses Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
On Mon, Oct 23, 2017 at 4:44 PM,  <gomer94@yandex.ru> wrote:
> This sql code crashes the server:
>
> CREATE TYPE comp AS (f1 integer, f2 text, f3 bigint);
>
> CREATE TABLE typed_table OF comp (
>    f1 WITH OPTIONS GENERATED ALWAYS AS IDENTITY);

Thanks for the report. I can reproduce the crasher here. The problem
happens when doing a type name lookup when transforming the CREATE
clause in the parser. Looking into it now.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] [pg_dump] not dumping some default privileges
Next
From: Reinier Haasjes
Date:
Subject: Re: [BUGS] [pg_dump] not dumping some default privileges