We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8fe032f + 5b14a12 commit c5c85e1Copy full SHA for c5c85e1
lib/puppet/provider/postgresql_psql/ruby.rb
@@ -15,7 +15,7 @@ def run_sql_command(sql)
15
16
command = [resource[:psql_path]]
17
command.push('-d', resource[:db]) if resource[:db]
18
- command.push('-p', resource[:port]) if resource[:port]
+ command.push('-p', resource[:port].to_s) if resource[:port]
19
command.push('-t', '-X', '-c', sql)
20
21
environment = fetch_environment
0 commit comments