Skip to content

[psycopg2] The quote_ident function requires psycopg2.extensions.connection. #474

@eliwind

Description

@eliwind

This is very related to #383.

To reproduce:

from ddtrace import patch_all
patch_all()

import psycopg2
from psycopg2.extensions import quote_ident

conn = psycopg2.connect(dbname="test")
quote_ident('foo', conn) # Fails with TypeError: argument 2 must be a connection or a cursor

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions