Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/61944/osm2pgsql-foreign-keys/61950