Re: chr() function leads to OOM / killed connection with 8.1, 8.2 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: chr() function leads to OOM / killed connection with 8.1, 8.2
Date
Msg-id 21321.1184870574@sss.pgh.pa.us
Whole thread Raw
In response to Re: chr() function leads to OOM / killed connection with 8.1, 8.2  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: chr() function leads to OOM / killed connection with 8.1, 8.2  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-bugs
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> FWIW, I can reproduce this with UTF-8, on REL_8_2_STABLE.

I can reproduce an out-of-memory condition (basically, replace() is
going into an infinite loop because of the invalid input) but I'm
not seeing any crash.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: chr() function leads to OOM / killed connection with 8.1, 8.2
Next
From: Heikki Linnakangas
Date:
Subject: Re: chr() function leads to OOM / killed connection with 8.1, 8.2