Here is a tutorial about creating functions in PostgreSQL with PgAdmin III. Hope it is useful and pray for us to continu...