saltstack/salt — pull request #13604 by steverweber (2014-06-20 17:46:53+00:00)
Title: workaround for running database updates using psql_query

added some help on how to preform other database commands using psql_query.

I understand this solution is /lame/, but it might help others out until salt has a psycopg solution.