Replies: 1 comment 6 replies
-
You can use any |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PostgreSQL 10 introduced the "Identity" column constraint for unique ID columns with SQL standard definition ("GENERATED ALWAYS / BY DEFAULT AS IDENTITY"), which has several advantages over the "serial" type. Maybe it would be an idea to at least allow specifying this sql_type instead of serial, or default to it for PostgreSQL 10+:
https://www.depesz.com/2017/04/10/waiting-for-postgresql-10-identity-columns/
https://www.postgresql.org/docs/current/sql-createtable.html
Beta Was this translation helpful? Give feedback.
All reactions