Functions
摘要
This chapter focuses on the most underused and misused features of PostgreSQL, objects—functions. Since all modern programming languages include user-defined functions, people often assume that database functions are cut from the same cloth and if you know how and when to write functions in an application programming language, you can apply this directly to PostgreSQL. This could not be further from truth.