-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Is your feature request related to a problem? Please describe.
Starting from version 1.16.6, pg8000 has dropped the PGJsonb class. This breaks the Timescale translator so we pinned the pg8000 version in the Pipfile to 1.16.5---the last version to ship with the PGJsonb class. Also, pg8000 doesn't come with connection pooling.
Describe the solution you'd like
See how difficult it'd be to switch to Psycopg. It shouldn't be hard actually. Notice Psycopg has built-in connection pooling.
Describe alternatives you've considered
Stick with pg8000, just replace PGJsonb with json.dump. Quick solution, but then we'd still need a solution for connection pooling...
Additional context
See also: crate/crate-python#397