kid*_*tal 5 postgresql jetty postgresql-9.1
我正在尝试运行Java Jetty应用程序,我一直看到这个错误:
Caused by:
org.postgresql.util.PSQLException: ERROR: function crypt(character varying, character) does not exist| Hint: No function matches the given name and argument types. You might need to add explicit type casts.| Where: PL/pgSQL function
Run Code Online (Sandbox Code Playgroud)
有谁认识到这个或如何解决这个问题?我认为pgcrypt是在Postgres 9.1.x中预先捆绑的吗?
我目前运行Mac OSX Lion 10.7并使用brew"brew install postgres"安装Postgres.
kid*_*tal 12
我只需要启用pgcrypto; 刚刚从CLI运行:
CREATE EXTENSION pgcrypto;
对于mac用户,我建议在brew上阅读更多相关内容:
brew info postgres
| 归档时间: |
|
| 查看次数: |
5576 次 |
| 最近记录: |