Re: Type Categories for User-Defined Types - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Type Categories for User-Defined Types
Date
Msg-id 20069.1217448622@sss.pgh.pa.us
Whole thread Raw
In response to Re: Type Categories for User-Defined Types  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Type Categories for User-Defined Types  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> On Jul 30, 2008, at 10:34, Tom Lane wrote:
>> UUID and so on aren't considered part of the string category, and
>> shouldn't be IMHO ... any type that has semantics significantly
>> different from "arbitrary string of text" doesn't belong.

> Yes, that was essentially my point. "arbitrary string of text" types  
> are probably fairly rare, since one can just use text or citext or  
> varchar.

Good point --- so new members of STRING category aren't going to be that
common, except for domains which apparently aren't bothering people
anyway.  I'll go ahead and make the change.  (I think it's just a
trivial change in find_coercion_pathway, and everything else should
Just Work.  If it turns out not to be trivial maybe we should
reconsider.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Type Categories for User-Defined Types
Next
From: "David E. Wheeler"
Date:
Subject: Re: Type Categories for User-Defined Types