Table inheritance: Enforcing unique constraints across partitions?
-
06-09-2019 - |
Question
I have a table that I would like to partition, but I don't know how to deal with the uniqueness constraints.
Is it possible to create a unique constraint across multiple child tables?
Solution
No, this is not currently possible. The best you can do is to create a trigger that does the verification manually.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow