Skip to content

Commit

Permalink
Merge pull request #195 from engineyard/DATA-357
Browse files Browse the repository at this point in the history
Adding database user to vacuumdb command
  • Loading branch information
tpoland committed Mar 20, 2015
2 parents 619237e + e9f0d29 commit 69c3343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/postgresql_maintenance/recipes/default.rb
Expand Up @@ -7,7 +7,7 @@
day '*'
month '*'
weekday '0'
command '/usr/bin/vacuumdb --all'
command '/usr/bin/vacuumdb -U postgres --all'
end

# Alternative form - vacuums a specific named database and set of tables Midnight on Saturday
Expand All @@ -17,7 +17,7 @@
# day '*'
# month '*'
# weekday '6'
# command "/usr/bin/vacuumdb --dbname=#{dbname} --table='#{table1}' --table='#{table2}'"
# command "/usr/bin/vacuumdb -U postgres --dbname=#{dbname} --table='#{table1}' --table='#{table2}'"
# end

end

0 comments on commit 69c3343

Please sign in to comment.