Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group