| От | Peter Eisentraut |
|---|---|
| Тема | Re: Using domains for case insensitivity |
| Дата | |
| Msg-id | 200406171557.28691.peter_e@gmx.net обсуждение |
| Ответ на | Using domains for case insensitivity (Shachar Shemesh <psql@shemesh.biz>) |
| Ответы |
Re: Using domains for case insensitivity
|
| Список | pgsql-hackers |
Shachar Shemesh wrote: > According to the docs, domains are not meant for that purpose, but > for changing constraints of a type. Is it possible to define a domain > that will have the same defaults and constraints as the base type, > but will have different comparison functions? Will that provide me > with what I need? Domains constrain the allowed values of a data type and nothing more. If you were able to override operators, then you would create a new data type, thus losing a fundamental property of domains. So this is not the route you want to pursue.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера