[PR #3932] [MERGED] Fix all wrong default port number of postgres db in long term memory docs and sample code #3941

Closed
opened 2026-06-05 18:53:39 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3932
Author: @Yacklin
Created: 5/8/2026
Status: Merged
Merged: 5/28/2026
Merged by: @npentrel

Base: mainHead: patch-5


📝 Commits (4)

  • 8f66e91 fix all wrong default port number of postgres db in long term memory docs and sample code
  • a7c14d1 update tests to use 5432
  • be5ba86 update remaining examples
  • 1968296 Update code sample tests to not run on forks without approval

📊 Changes

19 files changed (+52 additions, -48 deletions)

View changed files

📝 .github/workflows/test-code-samples.yml (+4 -0)
📝 src/code-samples/conftest.py (+2 -2)
📝 src/code-samples/langchain/long-term-memory-create-agent-postgres.py (+1 -1)
📝 src/code-samples/langchain/long-term-memory-create-agent-postgres.ts (+1 -1)
📝 src/code-samples/langchain/long-term-memory-read-tool-postgres.py (+1 -1)
📝 src/code-samples/langchain/long-term-memory-read-tool-postgres.ts (+2 -2)
📝 src/code-samples/langchain/long-term-memory-storage-postgres.py (+1 -1)
📝 src/code-samples/langchain/long-term-memory-storage-postgres.ts (+1 -1)
📝 src/code-samples/langchain/long-term-memory-write-tool-postgres.py (+1 -1)
📝 src/code-samples/langchain/long-term-memory-write-tool-postgres.ts (+2 -2)
📝 src/oss/langgraph/add-memory.mdx (+10 -10)
📝 src/snippets/code-samples/long-term-memory-create-agent-postgres-js.mdx (+7 -7)
📝 src/snippets/code-samples/long-term-memory-create-agent-postgres-py.mdx (+1 -1)
📝 src/snippets/code-samples/long-term-memory-read-tool-postgres-js.mdx (+7 -7)
📝 src/snippets/code-samples/long-term-memory-read-tool-postgres-py.mdx (+1 -1)
📝 src/snippets/code-samples/long-term-memory-storage-postgres-js.mdx (+1 -1)
📝 src/snippets/code-samples/long-term-memory-storage-postgres-py.mdx (+1 -1)
📝 src/snippets/code-samples/long-term-memory-write-tool-postgres-js.mdx (+7 -7)
📝 src/snippets/code-samples/long-term-memory-write-tool-postgres-py.mdx (+1 -1)

📄 Description

Overview

fix all wrong default port of postgres in long term memory docs and sample code

Type of change

Update existing documentation / Fix typo/bug/link/formatting

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

Additional notes


🔄 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/docs/pull/3932 **Author:** [@Yacklin](https://github.com/Yacklin) **Created:** 5/8/2026 **Status:** ✅ Merged **Merged:** 5/28/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `patch-5` --- ### 📝 Commits (4) - [`8f66e91`](https://github.com/langchain-ai/docs/commit/8f66e91abca3c636283ec1df77e67c306e759d77) fix all wrong default port number of postgres db in long term memory docs and sample code - [`a7c14d1`](https://github.com/langchain-ai/docs/commit/a7c14d1e28925c1776928ff3d48afc10630af165) update tests to use 5432 - [`be5ba86`](https://github.com/langchain-ai/docs/commit/be5ba863e6ac4e9a938de86b25b559094bf895a8) update remaining examples - [`1968296`](https://github.com/langchain-ai/docs/commit/1968296e657fff907504fae710c9e3cdece9f137) Update code sample tests to not run on forks without approval ### 📊 Changes **19 files changed** (+52 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test-code-samples.yml` (+4 -0) 📝 `src/code-samples/conftest.py` (+2 -2) 📝 `src/code-samples/langchain/long-term-memory-create-agent-postgres.py` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-create-agent-postgres.ts` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-read-tool-postgres.py` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-read-tool-postgres.ts` (+2 -2) 📝 `src/code-samples/langchain/long-term-memory-storage-postgres.py` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-storage-postgres.ts` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-write-tool-postgres.py` (+1 -1) 📝 `src/code-samples/langchain/long-term-memory-write-tool-postgres.ts` (+2 -2) 📝 `src/oss/langgraph/add-memory.mdx` (+10 -10) 📝 `src/snippets/code-samples/long-term-memory-create-agent-postgres-js.mdx` (+7 -7) 📝 `src/snippets/code-samples/long-term-memory-create-agent-postgres-py.mdx` (+1 -1) 📝 `src/snippets/code-samples/long-term-memory-read-tool-postgres-js.mdx` (+7 -7) 📝 `src/snippets/code-samples/long-term-memory-read-tool-postgres-py.mdx` (+1 -1) 📝 `src/snippets/code-samples/long-term-memory-storage-postgres-js.mdx` (+1 -1) 📝 `src/snippets/code-samples/long-term-memory-storage-postgres-py.mdx` (+1 -1) 📝 `src/snippets/code-samples/long-term-memory-write-tool-postgres-js.mdx` (+7 -7) 📝 `src/snippets/code-samples/long-term-memory-write-tool-postgres-py.mdx` (+1 -1) </details> ### 📄 Description ## Overview fix all wrong default port of postgres in long term memory docs and sample code ## Type of change Update existing documentation / Fix typo/bug/link/formatting ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed ## Additional notes --- <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-06-05 18:53:39 -04:00
yindo closed this issue 2026-06-05 18:53:39 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3941