forked from MeltanoLabs/target-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try using copy command from psycopg3
- Loading branch information
1 parent
1a60b45
commit 4eb7987
Showing
7 changed files
with
371 additions
and
322 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
def postgres_config(): | ||
return { | ||
"dialect+driver": "postgresql+psycopg2", | ||
"dialect+driver": "postgresql+psycopg", | ||
"host": "localhost", | ||
"user": "postgres", | ||
"password": "postgres", | ||
|
@@ -29,7 +29,7 @@ def postgres_config(): | |
|
||
def postgres_config_no_ssl(): | ||
return { | ||
"dialect+driver": "postgresql+psycopg2", | ||
"dialect+driver": "postgresql+psycopg", | ||
"host": "localhost", | ||
"user": "postgres", | ||
"password": "postgres", | ||
|
@@ -43,7 +43,7 @@ def postgres_config_no_ssl(): | |
|
||
def postgres_config_ssh_tunnel(): | ||
return { | ||
"sqlalchemy_url": "postgresql://postgres:[email protected]:5432/main", | ||
"sqlalchemy_url": "postgresql+psycopg://postgres:[email protected]:5432/main", | ||
"ssh_tunnel": { | ||
"enable": True, | ||
"host": "127.0.0.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters