If you’re getting an error in PostgreSQL that reads something like “cannot insert into column” with detail that explains that the “…is an identity column defined as GENERATED ALWAYS“, it’s probably because you’re trying to insert your own value into an identity column that was created with the GENERATED ALWAYS
option, but you’re not explicitly overriding the column from auto generating its own value.
To fix this issue, use OVERRIDING SYSTEM VALUE
when inserting the value.