PQexec() 8191 bytes limit and text fields - Mailing list pgsql-hackers

From Steve Howe
Subject PQexec() 8191 bytes limit and text fields
Date
Msg-id 9j3ilp$2hrs$1@news.tht.net
Whole thread Raw
Responses Re: PQexec() 8191 bytes limit and text fields
List pgsql-hackers
Hello all,

       Writing my interface application, which use the PQexec library, I
came across the PQexec() queries 8191 bytes limit.       What useful are 4Gb text fields if I have this limit ?       I
mean,if a user make an update to this field, with a large value
 
(let's say, 4Mb), do I have to call PQexec multiple (more then 500) times,
concatenating the strings each time I call it ??? Can't this be better
implemented ? This is too slow, and generates much more traffic then I ever
wish.       This problem also plagues the large objects API, since they're only
a wrapper to the built-in large objects API.       Does anyone have a better way of doing this ?

Best Regards,
Steve Howe
http://www.vitavoom.com




pgsql-hackers by date:

Previous
From: Gunnar Rønning
Date:
Subject: Re: Re: Idea: recycle WAL segments, don't delete/recreate 'em
Next
From: rick@edg.nl (Rick Schippers)
Date:
Subject: Re: All computers in the world MUST sync with ATOMIC clock before 12:00 AM 21 July 2001!!!