RE: [SQL] Text type - Mailing list pgsql-sql

From Jackson, DeJuan
Subject RE: [SQL] Text type
Date
Msg-id F10BB1FAF801D111829B0060971D839F5DC74E@cpsmail
Whole thread Raw
Responses Re: [SQL] Text type  (Frank Barknecht <barknech@ph-cip.uni-koeln.de>)
List 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.Goldstein@t-online.de [mailto:Guido.Goldstein@t-online.de]
> Sent: Wednesday, January 13, 1999 7:40 AM
> To: pgsql-sql@hub.org
> Subject: Re: [SQL] Text type
>
>
>
> Hello!
>
> On Wed, 13 Jan 1999 08:56:19 +0100 (MET)
>     Remigiusz Sokolowski <rems@gdansk.sprint.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.
>

pgsql-sql by date:

Previous
From: "Jackson, DeJuan"
Date:
Subject: RE: [SQL] A path through a tree
Next
From: "Jackson, DeJuan"
Date:
Subject: RE: [SQL] Sequences and Views