Undocumented(?) limits on regexp functions - Mailing list pgsql-hackers

From Andrew Gierth
Subject Undocumented(?) limits on regexp functions
Date
Msg-id 87lg996g4r.fsf@news-spur.riddles.org.uk
Whole thread Raw
Responses Re: Undocumented(?) limits on regexp functions
List pgsql-hackers
All the regexp functions blow up with "invalid memory alloc request"
errors when the input string exceeds 256MB in length. This restriction
does not seem to be documented anywhere that I could see.

(Also for regexp_split* and regexp_matches, there's a limit of 64M total
matches, which also doesn't seem to be documented anywhere).

Should these limits:

a) be removed

b) be documented

c) have better error messages?

-- 
Andrew (irc:RhodiumToad)


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Pre-v11 appearances of the word "procedure" in v11 docs
Next
From: Tom Lane
Date:
Subject: Re: Undocumented(?) limits on regexp functions