Changes between Version 1 and Version 2 of Parcours source RHT


Ignore:
Timestamp:
Oct 25, 2011 10:18:51 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Parcours source RHT

    v1 v2  
    11back to first page[..][[BR]] 
    22back to ["RHT"][[BR]] 
     3 
     4{{{ 
     5#!sql 
     6-- script de calcul des distances sources 
     7set search_path to rht,public; 
     8select cast(ltree2text(subltree(chemin,0,1)) as integer) from rht_topology  
     9/* 
     10AJOUT D'UN INDEX 
     11ltree supports several types of indexes that can speed up the indicated operators: 
     12    B-tree index over ltree: <, <=, =, >=, > 
     13    GiST index over ltree: <, <=, =, >=, >, @>, <@, @, ~, ?  
     14*/ 
     15CREATE INDEX chemin_gist_index ON rht_topology USING GIST (chemin); 
     16}}}