Postgresql Create Function Examples Table