我正在尝试为postgres上的内置函数unaccent创建自定义规则。Postgres' documentation声明为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上创建它?
发布于 2019-12-13 00:13:21
没有办法将支持文件上传到Heroku Postgres数据库主机上的文件系统。Heroku Postgres根本不支持这种级别的自定义配置。它们代表您处理绝大多数操作,但它确实限制了它们可以合理地允许用户在系统上进行更改的内容。
https://stackoverflow.com/questions/59305062
复制相似问题