I want to know what PostgreSQL functions are.
When do I have to write them?
How can I write them?
And how can I call them?
I want to know what PostgreSQL functions are. When do I have to write
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Definition, from wikipedia:
Advantages of stored procedures in general, from wikipedia:
In PostgresSQL stored procedures are called user defined functions.
Definition example:
(You can use other languages to define stored functions in PostgreSQL)
Calling example:
More info: http://www.postgresql.org/docs/9.1/static/server-programming.html