[PR #210] [MERGED] fix: Add support for a metadata column named id in PGVectorStore #238

Closed
opened 2026-02-16 05:17:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/210
Author: @dishaprakash
Created: 5/13/2025
Status: Merged
Merged: 6/3/2025
Merged by: @averikitsch

Base: mainHead: id-column-issue


📝 Commits (2)

  • b6a919f fix: Add support for a metadata column named id
  • 1eb3238 Merge branch 'main' into id-column-issue

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 langchain_postgres/v2/async_vectorstore.py (+3 -3)

📄 Description

Add support for a metadata column named id in PGVectorStore

Fixes an issue that prevented adding a metadata column named id to the vector store, due to a conflict with the id parameter in the insert query. Users can now successfully include a metadata column with the name id.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/210 **Author:** [@dishaprakash](https://github.com/dishaprakash) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 6/3/2025 **Merged by:** [@averikitsch](https://github.com/averikitsch) **Base:** `main` ← **Head:** `id-column-issue` --- ### 📝 Commits (2) - [`b6a919f`](https://github.com/langchain-ai/langchain-postgres/commit/b6a919f0df1419fb2723f794a14348adcfc6d580) fix: Add support for a metadata column named id - [`1eb3238`](https://github.com/langchain-ai/langchain-postgres/commit/1eb3238ef14eab79fdb1266af63e834abda4dc8b) Merge branch 'main' into id-column-issue ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `langchain_postgres/v2/async_vectorstore.py` (+3 -3) </details> ### 📄 Description Add support for a metadata column named id in PGVectorStore Fixes an issue that prevented adding a metadata column named id to the vector store, due to a conflict with the id parameter in the insert query. Users can now successfully include a metadata column with the name id. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:17:04 -05:00
yindo closed this issue 2026-02-16 05:17:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#238