Re: [HACKERS] Using domains for case insensitivity

2004-06-18 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > 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

Re: [HACKERS] Using domains for case insensitivity

2004-06-17 Thread Peter Eisentraut
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