↧
Answer by Evan Carroll for Is there a way to enforce uniqueness of arbitrary...
Failed attempt with Exclusion ConstraintsI don't believe this is possible to do this with exclusion DDL because I don't believe PostgreSQL supports exclusion constraints on text[]CREATE TABLE...
View ArticleIs there a way to enforce uniqueness of arbitrary key-value pairs in a JSONB...
I use Postgres JSONB columns to store translations for dynamic content of a multi-language site — locales are keys, translated strings are values ({"en": "Hello", "ru": "Привет"}). There're some rare...
View Article