Re: Varchar Vs. Text index matching - why different? - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Varchar Vs. Text index matching - why different?
Date
Msg-id 5.1.0.14.0.20030321103410.03e48a38@mail.rhyme.com.au
Whole thread Raw
In response to Re: Varchar Vs. Text index matching - why different?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: A bad behavior under autocommit off mode
Next
From: Hiroshi Inoue
Date:
Subject: Re: A bad behavior under autocommit off mode