Re: [SQL] VARCHAR(50), CHAR(50) or TEXT ?

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] VARCHAR(50), CHAR(50) or TEXT ?
Date: 1999-05-27 07:10:33
Message-ID: 374CEFE9.9FB5DFDE@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Tuples have an 8k limit.

Doo Suk Yang wrote:
>
> > > Almost none. VARCHAR won't let you go beyond the stated maximum length,
> > > whereas TEXT has no specific upper limit. Otherwise they are stored
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> > > in exactly the same way. (At least in Postgres ... dunno about other
> > > DBMSs.)
> >
>
> BTW there may be implicit limit. When I tried to insert sequence data an
> error occured.
> ERROR: Tuple is too big: size 9520
> Does that show the limit?
>
> How can I deal with large object?
>
> ===============================================================================
> Science is the game we play with God to find out what his rules are.
> -------------------------------------------------------------------------------
> Doo Suk Yang
> Research Scientist Voice: 82-42-866-2222
> LG Chemical Ltd. Research Park
> Biotech Research Institute I FAX: 82-42-861-2566
> -------------------------------------------------------------------------------
> A fool hath no delight in understanding, but that his heart may discover itself.
> (Proverbs 18:2)
> ===============================================================================

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Remigiusz Sokolowski 1999-05-27 12:55:31 Re: [SQL] about permissions
Previous Message Doo Suk Yang 1999-05-27 07:00:48 Re: [SQL] VARCHAR(50), CHAR(50) or TEXT ?