所以我已经通过 Homebrew 安装了 Postgresql,看起来 contrib 目录丢失了。我读过的所有安装 Trigram 的教程都需要这个。
$ cd /usr/local/Cellar/postgresql/9.1.2/share/postgresql/contrib
-bash: cd: /usr/local/Cellar/postgresql/9.1.2/share/postgresql/contrib: No such file or directory
谁能给我指出安装 Trigram (pg_trgm.sql) 的正确方向?我在这里迷路了。
谢谢。
最佳答案
才发现正确的路径是....
/usr/local/Cellar/postgresql/9.1.2/share/postgresql/extension
想与遇到此问题的其他人分享。
关于postgresql - 如何为通过 Homebrew 软件安装的 Postgresql 安装 Trigram 模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9897745/