如何在PSQL中测试函数?

时间:2016-06-01 22:16:09

标签: postgresql psql

我正在学习本教程:

http://www.onlamp.com/pub/a/onlamp/2006/05/11/postgresql-plpgsql.html

但是当我进入try命令时它失败了:

mattswheels=# try=% select fib(8);
ERROR:  syntax error at or near "try"
LINE 1: try=% select fib(8);
        ^

如何测试我新创建的功能?

0 个答案:

没有答案