Method: Backup::Database::PostgreSQL#connectivity_options
- Defined in:
- lib/backup/database/postgresql.rb
#connectivity_options ⇒ Object
102 103 104 105 106 107 108 109 |
# File 'lib/backup/database/postgresql.rb', line 102 def return "--host='#{ socket }'" if socket opts = [] opts << "--host='#{ host }'" if host opts << "--port='#{ port }'" if port opts.join(' ') end |