0

我通过 macports 安装了 postgresql 9.2。通常我可以通过在我正在使用的数据库中运行“创建扩展”命令来安装扩展。虽然它适用于fuzzystrmatch,但我找不到适合立方体模块的文件。以下是我安装的模块。

select * from pg_available_extensions;
 name        | default_version | installed_version |                                  -
 adminpack          | 1.0             |                   | administrative functions for      PostgreSQL
 dblink             | 1.0             |                   | connect to other PostgreSQL databases from within a database
 file_fdw           | 1.0             |                   | foreign-data wrapper for flat file access
 fuzzystrmatch      | 1.0             | 1.0               | determine similarities and distance between strings
 lo                 | 1.0             |                   | Large Object maintenance
 pageinspect        | 1.0             |                   | inspect the contents of database pages at a low level
pg_buffercache     | 1.0             |                   | examine the shared buffer cache
pg_freespacemap    | 1.0             |                   | examine the free space map (FSM)
pg_stat_statements | 1.1             |                   | track execution statistics of all SQL statements executed
pg_trgm            | 1.0             | 1.0               | text similarity measurement and index searching based on trigrams
pgcrypto           | 1.0             |                   | cryptographic functions
pgrowlocks         | 1.0             |                   | show row-level locking information
pgstattuple        | 1.0             |                   | show tuple-level statistics
plpgsql            | 1.0             | 1.0               | PL/pgSQL procedural language
tablefunc          | 1.0             | 1.0               | functions that manipulate whole tables, including crosstab
uuid-ossp          | 1.0             |                   | generate universally unique identifiers (UUIDs)
(16 rows)

我在哪里可以下载其他缺失的模块?

4

1 回答 1

0

如果您通过https://postgresapp.com安装它,它应该附带这些附加扩展以及 PostGIS 和 PLV8。

于 2012-09-14T23:19:23.443 回答