shashbha14 opened a new pull request, #69546:
URL: https://github.com/apache/airflow/pull/69546

   closes: #69443
   'PgVectorIngestOperator' always called 'pgvector.psycopg2.register_vector', 
so it broke
   when 'PostgresHook' returned a psycopg3 connection. Now it checks the hook's 
'USE_PSYCOPG3'
   flag and picks the matching helper ('pgvector.psycopg' for psycopg3, 
'pgvector.psycopg2'
   otherwise), importing only the driver in use — same pattern as 
'postgres_to_gcs.py'.
   
   Added tests for both driver paths.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to