Re: Varchar Vs. Text index matching - why different?

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: Varchar Vs. Text index matching - why different?
Дата
Msg-id 5.1.0.14.0.20030321103410.03e48a38@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: Varchar Vs. Text index matching - why different?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 10:18 AM 20/03/2003 -0500, Tom Lane wrote:
>I have been wondering whether we couldn't eliminate the datatype
>distinction between text and varchar.

That would be great if done magically in the backend. If all text columns 
were effectively wrapped in a Cast(X to text), life from a users PoV would 
be a little simpler. I assume Varchar(20) would still exist and be limited 
to 20 chars.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/



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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: A bad behavior under autocommit off mode
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: A bad behavior under autocommit off mode