Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash
Дата
Msg-id CAB7nPqTtWi3S7ew6aCQqkHiUos5n=jigS=GMpV2vEbQCfU1qqA@mail.gmail.com
обсуждение исходный текст
Ответ на [BUGS] BUG #14866: The generated constraint in the typed table causes theserver to crash  (gomer94@yandex.ru)
Ответы Re: [BUGS] BUG #14866: The generated constraint in the typed tablecauses the server to crash
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUGS] [pg_dump] not dumping some default privileges
Следующее
От: Reinier Haasjes
Дата:
Сообщение: Re: [BUGS] [pg_dump] not dumping some default privileges