Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

feat(postgres): include column comments in schema context - #193

Open
gezerui888 wants to merge 2 commits into
sqlchat:mainfrom
gezerui888:feat/postgres-column-comments
Open

gezerui888 wants to merge 2 commits into
sqlchat:mainfrom
gezerui888:feat/postgres-column-comments

Conversation

@gezerui888

Copy link
Copy Markdown

PostgreSQL schema context omitted column comments. I now include them as COMMENT ON COLUMN statements, with identifiers and comment text escaped by PostgreSQL. Comments stay with the correct schema and column, including after a column is dropped.

I added a PostgreSQL integration test and connected it to PR CI. This covers the PostgreSQL part of #155.

Tests: PostgreSQL 16 integration test (fails on the original connector, passes with the change), npm run lint, and npm run build.

@gezerui888

Copy link
Copy Markdown
Author

I pinned CI to pnpm 10.34.8 after the unpinned version failed during dependency installation. Frozen-lockfile installation, lint, the PostgreSQL 16 integration test, and the production build pass with this version.

@gezerui888

Copy link
Copy Markdown
Author

Hi @tianzhou, could you review my PostgreSQL column comments change when you have time? Thanks for your help.

@gezerui888

Copy link
Copy Markdown
Author

Hi @tianzhou, I would appreciate a review when you have time.

This branch has not been deployed

No deployments
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.

1 participant