aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dbshell/client
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dbshell/client')
-rw-r--r--lib/dbshell/client/postgres.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dbshell/client/postgres.rb b/lib/dbshell/client/postgres.rb
index 78b82d7..9979710 100644
--- a/lib/dbshell/client/postgres.rb
+++ b/lib/dbshell/client/postgres.rb
@@ -1,3 +1,5 @@
+require 'dbshell/exec_alias'
+
module DBShell
module Client
class Postgres
@@ -5,7 +7,7 @@ module DBShell
def self.runshell(db_info)
args = self.build_command(db_info)
- exec(*args)
+ DBShell::ExecAlias.exec(args)
end
def self.build_command(db_info)