Posts Tagged ‘prefix’

Waiting for 8.4 - partial-match support in GIN, and sequence restart

2008-05-17 17:20:36 CEST | 1 Comment | Tags: , , , , , , ,

Today we have two interesting patches:

  • patch by Teodor Sigaev and Oleg Bartunov, and committed by Tom Lane, which adds interesting capability to GIN indexes
  • patch by Zoltan Boszormenyi, also committed by Tom, which adds “RESTART” option to ALTER SEQUENCE. With some interesting consequences

- MORE -

searching for longest prefix

2008-03-04 12:56:42 CET | 24 Comments | Tags: , , ,

couple of times is was brought to attention of #postgresql channel - how to find longest prefix.

case: you have phone number, and you want to find which carrier it is bound to.

there are at least 3 ways of finding it, and i decided to take a look at which is fastest.

- MORE -