If "predmet" is a FK to "predmeti", and "nositelj" is a FK to "nastavnici",
what will happen if I specify ON DELETE CASCADE to both foreign keys and delete one of the entities? Would it produce an error?
Edit: I'm using the latest version of PostgreSQL.