Re: Limited varchar, unlimited varchar, or text?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Limited varchar, unlimited varchar, or text?
Date: 2003-07-24 18:12:24
Message-ID: 878yqnpzef.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> I have myself been wondering if we couldn't converge the TEXT and
> VARCHAR types some more, but we're not likely to remove either one.

Can't we rip out all the code for, say, "text" and just treat "text" as an
alias for "varchar"?

That would make \d and pg_dump etc print "varchar" which might surprise users
but it would make it obvious that there really isn't any difference.

--
greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-07-24 18:12:38 Re: SAP DB: The unsung Open Source DB
Previous Message Jonathan Bartlett 2003-07-24 18:09:27 Re: SAP DB: The unsung Open Source DB