diff options
Diffstat (limited to 'lib/dbshell/client/postgres.rb')
-rw-r--r-- | lib/dbshell/client/postgres.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dbshell/client/postgres.rb b/lib/dbshell/client/postgres.rb index 0e33843..78b82d7 100644 --- a/lib/dbshell/client/postgres.rb +++ b/lib/dbshell/client/postgres.rb @@ -19,7 +19,7 @@ module DBShell args.push('-U', user) if user args.push('-h', host) if host - args.push('-p', port) if port + args.push('-p', port.to_s) if port args.push(db_name) end end |