Jump to content

Recommended Posts

Posted (edited)

Hi, i would like to create indixes used by the like-phrase

 

something like select name from collected_admin_boundaries where name ilike 'san %';

 

This type of query will only use trgm-indices which can be created using

create index idx_collected_admin_boundaries_name on collected_admin_boundaries using gin(name gin_trgm_ops);

 

But for that i need the extension pg_trbn, which is installed but not activated.

 

wambachr_osm=> create extension pg_trgm with schema pg_catalog;

ERROR:  permission denied to create extension "pg_trgm"
HINT:  Must be superuser to create this extension.
Time: 2486,759 ms (00:02,487)

 

Regards

walter

Edited by wambachr
Posted

sorry

 

username:                 wambachr

main domain               wambachr.heliohost.org

postgresql-database:      wambachr_osm

server:                   tommy

 

regards

walter

Guest
This topic is now closed to further replies.
×
×
  • Create New...