"Ola Sergatchov" <ola_sergatchov@hotmail.com> writes:
> The following bug has been logged online:
> Bug reference: 5531
> Logged by: Ola Sergatchov
> Email address: ola_sergatchov@hotmail.com
> PostgreSQL version: 8.1.18
> Operating system: RedHat Linux 4.1.2-46
> Description: REGEXP_ REPLACE causes connection drop
> Details:
> Passing large string to REGEXP_REPLACE function causes the DB connection to
> drop. We executed this function with very large strings (20,000 - 250,000
> characters) both from RedHat and PgAdmin and in both cases the function
> fails to return and eventually the connection drops.
I don't see any such misbehavior here: it either completes or reports
"out of memory". Could we see a specific problematic example? Also
what sort of hardware are you on? (32-bit vs 64-bit seems relevant
in particular.)
regards, tom lane