4

I want to create a function in pgsql that will take three parameters and return a single value (1 row, 1 col).

I have the query working but can not seem to find a proper example of creating a function to do this.

4

1 回答 1

9

看看这个页面上的例子,或者这个

如果您实际阅读文档,则会有各种函数和返回类型的多个示例。

于 2012-02-24T18:17:33.760 回答