Skip site navigation (1) Skip section navigation (2)

Re: BUG #5531: REGEXP_ REPLACE causes connection drop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ola Sergatchov" <ola_sergatchov(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5531: REGEXP_ REPLACE causes connection drop
Date: 2010-06-30 16:25:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Ola Sergatchov" <ola_sergatchov(at)hotmail(dot)com> writes:
> The following bug has been logged online:

> Bug reference:      5531
> Logged by:          Ola Sergatchov
> Email address:      ola_sergatchov(at)hotmail(dot)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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2010-06-30 16:44:45
Subject: Re: BUG #5532: Valid UTF8 sequence errors as invalid
Previous:From: Bruce MomjianDate: 2010-06-30 15:46:53
Subject: Re: BUG #5531: REGEXP_ REPLACE causes connection drop

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group