A simple stored procedure, like a function in PostgreSQL?

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

The query is working for me, but I can not find a suitable example of creating a function for this.

+4
source share
1 answer

Take a look at the example on this page or this one .

If you are really looking at the documentation, there are several examples of various functions and return types.

+8
source

Source: https://habr.com/ru/post/1398266/


All Articles