Re: Type Categories for User-Defined Types
От | David E. Wheeler |
---|---|
Тема | Re: Type Categories for User-Defined Types |
Дата | |
Msg-id | DDFB50E9-CB6B-4CC3-B229-57F3FFD792E5@kineticode.com обсуждение исходный текст |
Ответ на | Re: Type Categories for User-Defined Types (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Type Categories for User-Defined Types
|
Список | pgsql-hackers |
On Jul 29, 2008, at 16:45, Tom Lane wrote: >> Nice! Does it also allow all of the casts to and from text to >> implicitly work, e.g, > > No, but we could think about that. Do we really want that to work for > any member of the string category? It seems a bit overly broad to me > ... I was thinking about other text-style types, like UUID and UPC, and was thinking probably not, at least for them. OTOH, some strings should work that way, like citext or enums, the difference being that, in most contexts, they can be treated as plain text, since they're usually thought of that way. Or so it seems to me. Might there be a way to create that distinction? Best, David
В списке pgsql-hackers по дате отправления: