On Tue, Oct 4, 2022 at 09:41:19AM +0200, Peter Eisentraut wrote:
> In PostgreSQL 10, we added identity columns, as an alternative to serial
> columns (since 6.something). They mostly work the same. Identity columns
> are SQL-conforming, have some more features (e.g., overriding clause), and
> are a bit more robust in schema management. Some of that was described in
> [0]. AFAICT, there have been no complaints since that identity columns lack
> features or are somehow a regression over serial columns.
FYI, SERIAL came from Informix syntax, and it was already a macro, so
making it a different macro seems fine. ;-)
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson