Postgresql Declare String Sql Functions Examples