Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Connection to server got closed. Server will not be restarted.

未关闭
#230 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
postgresql, python, vscode
领域
database, devtools

调研方向

从 issue 中链接的扩展日志开始,在 macOS arm64 上的 PostgreSQL extension 1.16 中重现该故障。跟踪 pgsqltoolsservice 的 Python shared-library 加载失败;当连接窗口加载连接,并且数据库上下文菜单提供“Connect in Agent Mode”,且服务器连接不会关闭时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Describe the bug

[PYI-78957:ERROR] Failed to load Python shared library '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python': dlopen(/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python, 0x000A): tried: '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (errno=62), '/System/Volumes/Preboot/Cryptexes/OS/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (no such file), '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (errno=62)
[Error - 1:13:58 PM] Connection to server got closed. Server will not be restarted.

To Reproduce

Steps to reproduce the behavior:

  1. Click on PostgreSQL extension 1.16
  2. Output tab shows error
  3. Getting connections, load query history etc.. are stuck

Expected behavior

Connection windows shows all connections to various servers or give an option to add server. Once connected to a server, right click on database shows "Connect in Agent Mode" option

Screenshots

Image Image

VS Code version

Version: 1.109.5 (Universal)
Commit: 072586267e68ece9a47aa43f8c108e0dcbf44622
Date: 2026-02-19T19:43:32.382Z
Electron: 39.3.0
ElectronBuildId: 13313481
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Extension Logs

See: https://github.com/microsoft/vscode-pgsql?tab=readme-ov-file#usage-and-feedback

Add any other context about the problem here.

主要语言
没有语言数据
星标
395
派生
33
平均合并
1 小时 46 分钟
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/vscode-pgsql 的其他 Issue

查看 microsoft/vscode-pgsql 的全部 Issue

相似的 Issue

更多 Databases Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。