PostgreSQL user-defined functions with PL/pgSQL for repetitive Database tasks.

(more…)