Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sqlcomment support for psycopg(2) instrument_connection #3070

Open
tammy-baylis-swi opened this issue Dec 5, 2024 · 0 comments · May be fixed by #3071
Open

Add sqlcomment support for psycopg(2) instrument_connection #3070

tammy-baylis-swi opened this issue Dec 5, 2024 · 0 comments · May be fixed by #3071
Assignees

Comments

@tammy-baylis-swi
Copy link
Contributor

tammy-baylis-swi commented Dec 5, 2024

What problem do you want to solve?

sqlcommenting is supported by psycopg2 and psycopg instrumentors, but only if user calls instrument().

Describe the solution you'd like

Update psycopg2 and psycopg instrumentors so that users can pass enable_commenter and commenter_options to instrument_connection. Similar updates were made recently for mysqlclient and PyMySQL instrumentors.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant