psycopg2-binary
should not be used in production - psycopg2
should be used instead
#6669
Labels
psycopg2-binary
should not be used in production - psycopg2
should be used instead
#6669
Description
For PostgreSQL-related functions, Rucio uses the
psycopg2-binary
library:rucio/requirements.txt
Line 34 in 3397448
However, the
psycopg2
docs say:See also: https://stackoverflow.com/questions/70330567/what-is-the-different-about-psycopg2-and-psycopg2-binary-python-package
Additionally there is also
psycopg3
, which introduces many new features (the differences betweenpsycopg2
andpsycopg3
are listed here), like support for static typing.To do:
psycopg2
topsycopg3
psycopg2-binary
topsycopg2
as recommended in their docs.This is currently a blocker for this issue: #6666, which requires the
psycopg2.sql
module.Steps to reproduce
N/A
Rucio Version
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: