Here are only a few functions to demonstrate how easy it is to write PL/pgSQL functions. For more complex examples the programmer might look at the regression test for PL/pgSQL.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results