Re: Type Categories for User-Defined Types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Type Categories for User-Defined Types
Дата
Msg-id 26907.1217370910@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Type Categories for User-Defined Types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Type Categories for User-Defined Types  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
I wrote:
> "David E. Wheeler" <david@kineticode.com> writes:
>> Anyway, would this issue then go away once the type stuff was added  
>> and citext was specified as TYPE = 'S'?

> Yeah, that's the point of the proposal.

BTW, I did confirm (by temporarily hacking up TypeCategory()) that
causing citext to appear to be of STRING category eliminates the need
for the extra || operator and quote_literal() function that are in
the current citext code.  So the proposed solution really will work.

You might still want to keep the aliases in cases where the point is to
have the function or operator output resolve as citext rather than text.
I'm not sure how many of these cases that's really important for,
though.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: gsoc, oprrest function for text search take 2
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Type Categories for User-Defined Types