Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
molsson
· 7y ago · 0 comments
The free "teaser video" starts off showing "actor_id serial NOT NULL" but in postgres 10 and above identity columns can/should be used instead?
https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_s...
Comments
[–]
nsainsbury
7y ago
I actually do cover this in the course! I actively recommend and give examples of using autogenerated identity columns for the primary key, but still in many places in the course do expose people to using the serial types due to their popularity.