Re: PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",
Дата
Msg-id 949dd35d-596e-efce-c5fb-bfef19b74d3b@enterprisedb.com
обсуждение исходный текст
Ответ на PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",  (Petr Hybler <petr.hybler@gmail.com>)
Ответы PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
On 18.08.21 17:06, Petr Hybler wrote:
> |CREATE TABLE sample_table ( id int8 NOT NULL GENERATED ALWAYS AS 
> IDENTITY, name varchar(255) NOT NULL, description text NOT NULL, 
> CONSTRAINT sample_table_pk PRIMARY KEY (id) );|
> 
> When I try to insert a single value, it works OK:
> 
> |INSERT INTO sample_table (id, name, description) VALUES (DEFAULT, 'John 
> Doe', 'Test description');|
> 
> However, when inserting multiple values, it fails:
> 
> |INSERT INTO sample_table (id, name, description) VALUES (DEFAULT, 'John 
> Doe', 'Test description') , (DEFAULT, 'Jane Eod', 'Not working');|

This has been fixed in PostgreSQL 14.



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command
Следующее
От: "David G. Johnston"
Дата:
Сообщение: PGSQL bug - "Column ??? is an identity column defined as GENERATED ALWAYS.",