我正在使用 Ubuntu 10.04 运行 PostgreSQL 8.4.4。
我正在尝试生成 uuid,但找不到方法。
我确实有 uuid-ossp.sql/usr/share/postgresql/8.4/contrib/uuid-ossp.sql
当我尝试这就是我得到的:
postgres=# SELECT uuid_generate_v1();
ERROR: function uuid_generate_v1() does not exist
LINE 1: SELECT uuid_generate_v1();
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
任何的想法 ?