Re: [GENERAL] size limits on insert/copy/etc - Mailing list pgsql-general

From Chris Bitmead
Subject Re: [GENERAL] size limits on insert/copy/etc
Date
Msg-id 374A2784.923A028@bigfoot.com
Whole thread Raw
In response to size limits on insert/copy/etc  (John Browning <jb@poplar.com>)
List pgsql-general
Unfortunately tuples cannot be bigger than 8k. Many of us I think look
forward to the day when this restriction doesn't apply (it is on the
to-do list), but at this point in time 8k is the limit.

Large objects will work, but they have other problems that make them
fairly impractical.

John Browning wrote:
>
> 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

pgsql-general by date:

Previous
From: John Browning
Date:
Subject: size limits on insert/copy/etc
Next
From: ghoffman@ucsd.edu (Gary Hoffman)
Date:
Subject: More pgsql compile problems on BSDi 3.0