Re: TEXT field's length limit in PostgreSQL

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Michał 'Samuel' Modestowicz <samuel(at)netmagia(dot)pl>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: TEXT field's length limit in PostgreSQL
Date: 2001-10-18 13:49:52
Message-ID: Pine.LNX.4.30.0110180944460.4403-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 18 Oct 2001, [iso-8859-2] Micha³ 'Samuel' Modestowicz wrote:

> I know that my question may seem trivial, but unfortunately I haven't found
> any understandable info on this topic. It's about length limit of the TEXT
> field in PostgreSQL. I've heard that the TEXT fields in psql are limited to
> 4096 bytes but it's just unbelievable for me. So if I've got text of more
> than 4096 bytes size, for example article - do I really have to put it in
> the LOB field and use these terrific lo-functions to access it ?? Please, if
> anyone can help me - write to samuel(at)netmagia(dot)pl .

The limitation is gone in 7.1. According to the documentation, the length
is unlimited. Realistically, I think sizes of around 1G are the discrete
limit.

-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
Even moderation ought not to be practiced to excess.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2001-10-18 14:01:02 Re: Large Files?
Previous Message Martijn van Oosterhout 2001-10-18 13:38:11 Re: Need for protocol description