Re: lexeme ordering in tsvector

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sushant354(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: lexeme ordering in tsvector
Date: 2009-11-30 18:29:34
Message-ID: 7632.1259605774@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sushant Sinha <sushant354(at)gmail(dot)com> writes:
> Was this change in ordering deliberate?

Yes.

> Wouldn't length comparison be cheaper than memcmp?

It's not just about "cheapest" anymore, it also has to support prefix
operations.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2009-11-30 18:43:51 Re: Writeable CTE patch
Previous Message Kevin Grittner 2009-11-30 18:20:12 Re: Deleted WAL files held open by backends in Linux