Skip to content

Commit 5de0caa

Browse files
Update PG connection
1 parent e6b133d commit 5de0caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mysql2psql/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def initialize(options)
4343
else
4444
@jruby = false
4545

46-
@conn = PG.connect(dbname: database, user: login, password: password, host: hostname, port: port)
46+
@conn = PG::Connection.open(dbname: database, user: login, password: password, host: hostname, port: port)
4747

4848
if conn.nil?
4949
raise_nil_connection

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy