What happened with bug #2527? - Mailing list pgsql-bugs

From Sam's Lists
Subject What happened with bug #2527?
Date
Msg-id 558124520908142213v360f2deax56c299fe4491edfc@mail.gmail.com
Whole thread Raw
Responses Re: What happened with bug #2527?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I seem to be being bitten by the same bug as #2527 which was reported three
years ago.

http://archives.postgresql.org/pgsql-bugs/2006-07/msg00056.php

I can't find any record of it having been addressed.

The bug was filed under Postrges 8.1.1; I'm on 8.3.7 on Ubuntu.

The error when 07 starts with an '

x=# select to_tsquery('foo & ''07 & bar');
ERROR:  syntax error in tsquery: "foo & '07 & bar"

Just plain 07 works okay:

x=# select to_tsquery('foo & 07 & bar');
      to_tsquery
----------------------
 'foo' & '07' & 'bar'
(1 row)

Is there a bug, or am I misunderstanding something?

Thanks

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Stalled post to pgsql-bugs
Next
From: Tom Lane
Date:
Subject: Re: What happened with bug #2527?