0

我正在尝试为unaccentpostgres 上的内置函数创建自定义规则。Postgres 的文档指出This file must be stored in $SHAREDIR/tsearch_data/ (where $SHAREDIR means the PostgreSQL installation's shared-data directory). Its name must end in .rules (which is not to be included in the RULES parameter). 在我的本地数据库上创建很容易,但我想知道,如何在 heroku 上创建?

4

1 回答 1

3

无法将支持文件上传到 Heroku Postgres 数据库主机上的 fs。Heroku Postgres 根本不支持这种级别的自定义配置。他们代表您处理绝大多数操作,但这确实限制了他们可以合理地允许用户在系统上更改的内容。

于 2019-12-12T16:13:21.477 回答