Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Mon, 30 Nov 2009 13:29:34 -0500
  • Message-id: <7632.1259605774@sss.pgh.pa.us> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group