Re: Re[2]: TEXT vs VARCHAR

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Christophe Boggio <cat(at)thefreecat(dot)org>
Cc: cmarkiew(at)commnav(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Re[2]: TEXT vs VARCHAR
Date: 2000-10-10 21:50:25
Message-ID: 20760.971214625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Christophe Boggio <cat(at)thefreecat(dot)org> writes:
>>> is there a limit on the upper limit of a VARCHAR? i cannot find one in the
>>> documentation.

TL> The physical limit is circa 1Gb under TOAST.

> Excuse me, what is the 8kb-per-record size limit if we can have so
> big fields ?

Sorry --- TOAST is 7.1. In existing releases, TEXT, VARCHAR, and CHAR
are all constrained by the BLCKSZ limit on total row size. But still,
that offers no reason for choosing TEXT over VARCHAR or vice versa.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason Earl 2000-10-10 21:59:18 Re: Re: [HACKERS] My new job
Previous Message Jean-Christophe Boggio 2000-10-10 21:49:36 Re[2]: TEXT vs VARCHAR