serial attribute type vs GENERATED AS IDENTITY

Поиск
Список
Период
Сортировка
Искать

serial attribute type vs GENERATED AS IDENTITY

От:
PG Doc comments form <noreply@postgresql.org>
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/datatype-numeric.html
Description:

I think the documentation should mention that these do much the same thing
(at least, for the default auto-incrementing integer sequence). Using both
on the same column is, sensibly, not allowed.
FAQ