pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ari Halberstadt <ari@shore.net>
To: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] Re: I am facing a difficult problem..
Date: Mon, 29 Mar 1999 06:09:20 -0500
Message-ID: <v04003a00b324eac66ddf@[192.168.1.2]> (raw)
In-Reply-To: <19990328223910.A4338@ricochet.net>
References: <36FF1CC9.3DE5BE66@flex.ro>
	<199903290210.LAA00030@kmail.com>
	<36FF1CC9.3DE5BE66@flex.ro>

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@shore.net <http://www.magiccookie.com/;
PGP public key available at <http://www.magiccookie.com/pgpkey.txt;





view thread (5+ messages)  latest in thread

Message-ID: <v04003a00b324eac66ddf@[192.168.1.2]>
Permalink:  ../v04003a00b324eac66ddf@%5B192.168.1.2%5D/
Also on:    postgresql.org/message-id/v04003a00b324eac66ddf@[192.168.1.2]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ari@shore.net
  Subject: Re: [INTERFACES] Re: I am facing a difficult problem..
  In-Reply-To: <v04003a00b324eac66ddf@[192.168.1.2]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox