Re: tsvector concatenation - backend crash

From: Jesper Krogh <jesper(at)krogh(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: tsvector concatenation - backend crash
Date: 2011-08-27 07:52:05
Message-ID: 4E58A225.8030806@krogh.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2011-08-26 23:02, Tom Lane wrote:
> AFAICT this is a red herring: the bug exists all the way back to where
> tsvector_concat was added, in 8.3. I think the reason that your test
> case happens to not crash before this commit is that it changed the sort
> ordering rules for lexemes. As you can see from my minimal example
> above, we might need different numbers of pad bytes depending on how the
> lexemes sort relative to each other.
>
> Anyway, patch is committed; thanks for the report!
I've just confirmed the fix.. thanks for your prompt action.

--
Jesper

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2011-08-27 11:23:01 Re: pg_restore --no-post-data and --post-data-only
Previous Message Greg Smith 2011-08-27 07:39:14 Re: PATCH: regular logging of checkpoint progress