About varlena2

From: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: About varlena2
Date: 2005-12-05 21:44:27
Message-ID: Pine.LNX.4.58.0512051639490.31341@eon.cs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


To reduce size of varlen2.vl_len to int16. This has been mentioned before,
but is there any show-stopper reasoning preventing us from doing that or
somebody has been working on it?

Sorry, just to repeat myself. Char types will benefit from that. Many
applications are from DB2, Oracle or SQL Server:

Max Char Length
DB2 32672
SQL 8000
Oracle 4000

All of above just need varlena2. To support bigger char types, we could
follow the tradition "long varchar", etc. Or, we can introduce several new
data types like "short varchar" to keep compatible with previous
PostgreSQL applications.

Regards,
Qingqing

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kurt Roeckx 2005-12-05 21:45:14 Re: *printf and zero size
Previous Message Tom Lane 2005-12-05 21:40:57 Re: *printf and zero size