lib/backup/database/postgresql.rb in backup-3.0.26 vs lib/backup/database/postgresql.rb in backup-3.0.27
- old
+ new
@@ -31,10 +31,11 @@
##
# Path to pg_dump utility (optional)
attr_accessor :pg_dump_utility
attr_deprecate :utility_path, :version => '3.0.21',
- :replacement => :pg_dump_utility
+ :message => 'Use PostgreSQL#pg_dump_utility instead.',
+ :action => lambda {|klass, val| klass.pg_dump_utility = val }
##
# Creates a new instance of the PostgreSQL adapter object
# Sets the PGPASSWORD environment variable to the password
# so it doesn't prompt and hang in the process