BUG #4697: to_tsvector hangs on input

From: "Peter Guarino" <peterguarino(at)earthlink(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4697: to_tsvector hangs on input
Date: 2009-03-06 18:48:22
Message-ID: 200903061848.n26ImMdK030926@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4697
Logged by: Peter Guarino
Email address: peterguarino(at)earthlink(dot)net
PostgreSQL version: 8.3.3
Operating system: Suse 10.x
Description: to_tsvector hangs on input
Details:

Certain strings involving the @ character cause the to_tsvector function to
hang and the postgres server process handling the connection to spin the cpu
at 100%. Attempts to gracefully kill the server process are unsuccessful and
a 'kill -9' becomes necessary. Here is an example of a such a string:
4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4@D4(at)D4
@D4(at)D4@D4(at)D4@D4(at)D4@D2?C

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2009-03-06 21:32:10 Re: BUG #4697: to_tsvector hangs on input
Previous Message toruvinn 2009-03-06 13:54:30 Re: BUG #4696: update bug