saltstack/salt — pull request #4603 by nmandery (2013-04-25 06:51:16+00:00)
Title: Command to change the ownership of all relations in a database

This pull request implements a new command to change the ownership of all tables, views, sequences, functions, aggregates and schemata in a database at once.

This is useful when creating new databases from a template and setting the correct ownerships for the new user.