Postgresql Function Set Variable Python Print To Command