Well, both Python's and PostgreSQL's choice how to handleduplicates are just that, clear-cut choices.
But they cannot be reconciled without violating POLA.
Karsten--