Skip to content

c/driver/postgresql: Implement constraint metadata in GetObjects #3839

@Mandukhai-Alimaa

Description

@Mandukhai-Alimaa

What feature or improvement would you like to see?

ERROR tests/test_connection.py::TestConnection::test_get_objects_constraints_foreign[postgresql:15+] - NotImplementedError
ERROR tests/test_connection.py::TestConnection::test_get_objects_constraints_primary[postgresql:15+] - NotImplementedError
ERROR tests/test_connection.py::TestConnection::test_get_objects_constraints_unique[postgresql:15+] - NotImplementedError

These tests are being skipped right now because the PostgreSQL driver throws NotImplementedError when GetObjects is called with depth levels that request constraint information (foreign keys, primary keys, unique constraints). The driver should query PostgreSQL system catalogs (pg_constraint, pg_index) to retrieve constraint metadata so that we can enable the get_objects_constraints_* feature flags and pass the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions