Jump to content

[Solved] pg_trgm extension


wambachr

Recommended Posts

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
Link to comment
Share on other sites

sorry

 

username:                 wambachr

main domain               wambachr.heliohost.org

postgresql-database:      wambachr_osm

server:                   tommy

 

regards

walter

Link to comment
Share on other sites

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