Postgresql Function Set Variable In Cmd