Re: How to enforce uniqueness when NULL values are present?
В списке pgsql-general по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: How to enforce uniqueness when NULL values are present? |
| Дата | |
| Msg-id | 200703102147.36972.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | How to enforce uniqueness when NULL values are present? (Christian Schröder <cs@deriva.de>) |
| Ответы |
Re: How to enforce uniqueness when NULL values are present?
|
| Список | pgsql-general |
Christian Schröder wrote: > How can I enforce these constraints? I submit that you should rethink your database schema and properly normalize it. You are attempting to retool the algebra that underlies the SQL functionalities into doing something they are not designed to do, and you will, even if you manage to solve this particular problem, be in a constant battle against the database system to get your application to behave in a consistent manner. A first step in that direction would be to rethink the apparently troublesome use of null values. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера