Simplify Redshift connection with the AWS Supported redshift_connector module.
Add explicit logging on connection attempts.
Circumvent errors with pg-0-1 on Python 3.9 & 3.10 by using redshift_connector exceptions.
pg & pgdb have not been updated in more than 2 years. See attached pg init errors.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
redshift_connector
module.pg-0-1
on Python 3.9 & 3.10 by usingredshift_connector
exceptions.pg
&pgdb
have not been updated in more than 2 years. See attachedpg
init errors.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.