我正在尝试在我们的大型 RDS 实例上安装 AWS“批准的”PostgreSql 扩展,但每次我尝试“创建扩展 postgis_tiger_geocoder”时,我都会得到以下信息:
SQL 错误 [42883]:错误:函数 soundex(字符变化)不存在
我花了很多时间阅读 AWS / postgis / postgresql 论坛,但不幸的是还没有找到不祥之兆。
采取的步骤
安装 POSTGIS 扩展
create EXTENSION postgis;
Run Code Online (Sandbox Code Playgroud)
安装了包含 soundex 函数的 FuzzyStrMatch 扩展(已验证)
create EXTENSION fuzzystrmatch;
Run Code Online (Sandbox Code Playgroud)
最后,当我运行这个创建扩展时,我收到上面的错误
create extension postgis_tiger_geocoder;
SQL Error [42883]: ERROR: function soundex(character varying) does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 57558
org.postgresql.util.PSQLException: ERROR: function soundex(character varying) does not exist
Hint: No function matches the given …Run Code Online (Sandbox Code Playgroud)