I asked recently about a similar problem. PosgreSQL limits rows to 8191
bytes. A solution is to split the data into segments. My application is a
bulletin board and messages can be pretty long. The data are split into
separate rows and are broken on word boundaries to keep the split clean
(and facilitate full-text searching if it were hosted with, say, Oracle
8i). Notice that you are also limited by query length. The code (in Java)
for doing the split turned out to be a bit involved.
>On Mon, Mar 29, 1999 at 06:25:13AM +0000, Constantin Teodorescu wrote:
> It would depend upon your database. I'm handling a bug database
>with some rather large text fields. If someone pastes 8k of text into
>one of them, the INSERT statement will fail for that reason.
> I would like to know if there is a simple solution to this as well,
>or if it will be addressed in the future. I do have other options, but
>they entail shuffling a lot of legacy data around.
-- Ari Halberstadt mailto:ari(at)shore(dot)net <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>
In response to
pgsql-interfaces by date
|Next:||From: Beatrijs Vervenne||Date: 1999-03-29 13:13:59|
|Previous:||From: Adam Haberlach||Date: 1999-03-29 06:39:11|
|Subject: Re: [INTERFACES] Re: I am facing a difficult problem..|