我正在尝试运行 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
有谁认识到这一点或如何解决这个问题?我认为 pgcrypt 是在 Postgres 9.1.x 中预捆绑的?
我目前运行 Mac OSX Lion 10.7 并使用 brew "brew install postgres" 安装了 Postgres。