https://www.php-resource.de/forum/sql-datenbanken/52090-postgresql-frage-zu-create-function