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

Re: chr() function leads to OOM / killed connection with 8.1, 8.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: wiktor(dot)wodecki(at)Net-m(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: chr() function leads to OOM / killed connection with 8.1, 8.2
Date: 2007-07-19 18:42:54
Message-ID: 21321.1184870574@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Heikki Linnakangas <heikki(at)enterprisedb(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2007-07-19 19:17:23
Subject: Re: chr() function leads to OOM / killed connection with 8.1, 8.2
Previous:From: Heikki LinnakangasDate: 2007-07-19 18:15:50
Subject: Re: chr() function leads to OOM / killed connection with 8.1, 8.2

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