From: | Ufuk Kayserilioglu <ufuk(at)paralaus(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #8821: pg_trgm segfault with Turkish locale database |
Date: | 2014-01-14 13:59:29 |
Message-ID: | etPan.52d542c1.3352255a.1942@Ufuk-MBA-2.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi Tom,
Thank you so much for the quick turnaround. Indeed, I just built the latest version from Git and tested it on one of the original test machines and all cases are working perfectly.
Regards,
--
Ufuk Kayserilioglu
From: Tom Lane Tom Lane
Reply: Tom Lane tgl(at)sss(dot)pgh(dot)pa(dot)us
Date: 13 January 2014 at 21:24:31
To: Ufuk Kayserilioglu ufuk(at)paralaus(dot)com
Subject: Re: [BUGS] BUG #8821: pg_trgm segfault with Turkish locale database
Ufuk Kayserilioglu <ufuk(at)paralaus(dot)com> writes:
> Thanks for the quick response. Just a quick followup note though; running:
> SELECT show_trgm(maker) FROM car_makers;
> behaves properly, but trying to make a similarity comparison triggers the segfault (at least in my case). That's why I suspect there may be 2 related bugs, one related trigram generation and, maybe, one related to trigram comparison. Hope this info will help you as well.
The given cases all work for me with the committed patch to generate_trgm(),
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=c3ccc9ee584b9b015dd9c1931e261e21f3961e5f
I'm not going to sit here and claim that there are now zero bugs in
pg_trgm, but I'm not seeing evidence of a second issue. Since the bug is
a buffer overrun of just a few bytes, whether it results in a crash in any
particular trigram operation is hard to predict; it might just stomp on
noncritical memory.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-01-14 15:13:16 | Re: BUG #8830: Query with a subquery failes to execute if this subquery does not contain references to own table |
Previous Message | Heikki Linnakangas | 2014-01-14 13:54:32 | Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages |