postgresql - How to test a function in PSQL? -


i'm following tutorial:

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

but fails when try command:

mattswheels=# try=% select fib(8); error:  syntax error @ or near "try" line 1: try=% select fib(8);         ^ 

how can test out newly created function?


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo