>>On 24 June 2015 at 14:51, Marc Mamin <m.ma...@intershop.de> wrote:
>>note that the 345MB text only contains 635 lines. This might be the issue...

>There's similar issue discussed here:

>http://www.postgresql.org/message-id/6046.1353874...@sss.pgh.pa.us

>Tom did seem to accept that the attempted alloc is larger than it needs to be, 
>but even if it were fixed you would still run into problems further down the 
>line managing values of that size.


Thanks,

does it means that the issue would also occur in a (not yet existing) function 
that would just count the substring, without having to manipulate the text 
itself ?
or in other words, are there string functions that can handle such large text 
in stream, or is it always necessary to alloc enough memory for the whole text 
first ?

Marc 

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to