Re: Proposal: Better generation of values in GENERATED columns.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Proposal: Better generation of values in GENERATED columns.
Дата
Msg-id c1bb5ef0-02f2-a2d8-ccc6-21bc69c9b06a@2ndquadrant.com
обсуждение исходный текст
Ответ на Proposal: Better generation of values in GENERATED columns.  (Daniel Migowski <dmigowski@ikoffice.de>)
Ответы Re: Proposal: Better generation of values in GENERATED columns.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2019-08-26 13:28, Daniel Migowski wrote:
> I would like to implement a fallback solution 
> that detects such errors and automatically updates the nextvalue of the 
> sequence when the nextvalue is already used on insert.

ISTM that such a system would likely have many of the same problems as
the often-proposed ignore-errors mode for COPY, namely that you can't
catch errors and do something else other than rethrowing the error.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg11.5: ExecHashJoinNewBatch: glibc detected...double free or corruption (!prev)
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - allow to create partitioned tables