Skip to content

[REF] postgres: simplify and add collation check#157

Open
sea-odoo wants to merge 2 commits into
betafrom
postgres-connector-simplification-and-collation-check
Open

[REF] postgres: simplify and add collation check#157
sea-odoo wants to merge 2 commits into
betafrom
postgres-connector-simplification-and-collation-check

Conversation

@sea-odoo
Copy link
Copy Markdown
Contributor

@sea-odoo sea-odoo commented May 6, 2026

This PR simplifies the PostgresConnector class and adds the collation mismatch check feature.

Key changes:

  • Simplified query result handling using cr.description.
  • Simplified table_exists using information_schema.
  • Added list_tables method.
  • Implemented collation mismatch check and refresh logic.
  • Fixed ruff warnings in new collation code.

- Simplify query result handling using cr.description
- Simplify table_exists using information_schema
- Add list_tables method
- Implement collation mismatch check and refresh logic
- Fix ruff warnings in new collation code

Assisted-by: gemini-3-flash <noreply@google.com>
Comment thread odev/common/connectors/postgres.py Outdated
Comment thread odev/common/connectors/postgres.py Outdated
Assisted-by: gemini-3-flash <noreply@google.com>
@sea-odoo sea-odoo force-pushed the postgres-connector-simplification-and-collation-check branch from be1d87e to 6320f54 Compare May 6, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants