size limits on insert/copy/etc

From: John Browning <jb(at)poplar(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: size limits on insert/copy/etc
Date: 1999-05-24 22:15:21
Message-ID: 3749CF79.2A71F3DC@poplar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm trying to add large text items to a table (field declared as type
text). PQSendQuery can't take more than 8192 bytes.That's OK. But COPY
also complains that tuples of 29896 bytes are too big (trying to copy
from a file). So how do I get big text fields into a table? Do I have to
make them large objects? (And, if so, in what sense is the text field of
"unlimited size"?) Or am I just missing something simple?

Many thanks in advance for any advice...

bests

--

John Browning // 71 Richmond Ave // London N1 0LX
t 44 171 700 1230 // f 44 171 700 5255

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Bitmead 1999-05-25 04:31:00 Re: [GENERAL] size limits on insert/copy/etc
Previous Message Bruce Momjian 1999-05-24 21:24:06 Re: [GENERAL] pg_dump core dumps