Postgrseql 9.1 provides a new CREATE EXTENSION command. You must use it to install the modules.
The modules presented in 9.1 can be found here. . Enable
adminpack , auth_delay , auto_explain , btree_gin , btree_gist , chkpass , citext , cube , dblink , dict_int , dict_xsyn , dummy_seclabel , earthdistance , file_fdw , fuzzystrmatch , hstore , intagg , intarray , isn , lo , ltree , oid2name , pageinspect , passwordcheck , pg_archivecleanup , pgbench , pg_buffercache , pgcrypto , pg_freespacemap , pgrowlocks , pg_standby , pg_stat_statements , pgstattuple , pg_test_fsync , pg_trgm , pg_upgrade , seg , sepgsql , spi , sslinfo , tablefunc , test_parser , tsearch2 , unaccent , uuid-ossp , vacuumlo , xml2
If you wanted to install earthdistance just use this command:
CREATE EXTENSION earthdistance;
If you want to install the extension with a hyphen in its name, for example uuid-ossp , you need to enclose the extension name in double quotes:
CREATE EXTENSION "uuid-ossp";