RE: [SQL] Text type

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Guido(dot)Goldstein(at)t-online(dot)de, pgsql-sql(at)hub(dot)org, Gregory Holston <holston(at)itd(dot)nrl(dot)navy(dot)mil>
Subject: RE: [SQL] Text type
Date: 1999-01-13 23:38:00
Message-ID: F10BB1FAF801D111829B0060971D839F5DC74E@cpsmail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

The current limit to a TEXT field is MAX_TUPLE_SIZE - TUPLE_OVERHEAD -
ANY_OTHER_FIELD_SIZES_AND_OVERHEAD, which with no other fields in the
table is just less than 8k. But this can be increased at compile time.
It's set to 8k because that tends to be optimal page size for most of
the OS's that are supported.
-DEJ

> -----Original Message-----
> From: Guido(dot)Goldstein(at)t-online(dot)de [mailto:Guido(dot)Goldstein(at)t-online(dot)de]
> Sent: Wednesday, January 13, 1999 7:40 AM
> To: pgsql-sql(at)hub(dot)org
> Subject: Re: [SQL] Text type
>
>
>
> Hello!
>
> On Wed, 13 Jan 1999 08:56:19 +0100 (MET)
> Remigiusz Sokolowski <rems(at)gdansk(dot)sprint(dot)pl> wrote:
> > >
> > > Hi List,
> > >
> > > What is the max size of the text type in characters,
> preferable, or
> > > bytes.
> > >
> > > Thanks,
> > >
> > > -Greg
> >
> > AFAIK this is 8KB
>
> Somewhat less then 8K, because one -record- has to fit into one page
> (of 8K). AFAIK.
>
> Bye
> Guido
> --
> We're showing progress. Things are getting worse at a slower rate.
>

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jackson, DeJuan 1999-01-14 00:23:45 RE: [SQL] Sequences and Views
Previous Message Jackson, DeJuan 1999-01-13 23:20:40 RE: [SQL] A path through a tree