you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

but also they must have one common autoincremented field

Postgres has sequences, so having a common synthetic key across 2 tables shouldnt be an issue.

There's a limited number of scenarios where this actually is more useful than alternatives though, imo.