Y
Hacker News
new
|
ask
|
show
|
jobs
by
molsson
2556 days ago
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...
1 comments
nsainsbury
2556 days 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.
link