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

## remove queryQueue

未关闭
#3,633 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
冷清
技术栈
javascript, node.js, postgresql
领域
backend, database

调研方向

首先跟踪客户端的内部查询队列以及对正在执行的查询的处理。查看针对 pg@8.x 和 9.x 所描述的分阶段行为,包括一次性的弃用警告和之后的错误。完成的标准是按照该计划移除过时的队列行为,并验证其并发查询行为。

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

描述

remove queryQueue

The "query queue" idea shipped w/ the original version of node-postgres some 15 years ago. It gums up the internals of the client a bit, isn't how most database drivers behave, and is just weird. Espesh w/ async/await I don't think its used much at all on purpose. So, my plan is to deprecate it very soon in the pg@8.x branch - if someone adds a query to the client's internal query queue while the client is already executing a query in flight, I'll log a 1 time deprecation warning to the terminal. In 9.x the behavior will change to throw an error if a query is sent while another query is in flight.

Originally posted by @brianc in https://github.com/brianc/node-postgres/discussions/3598#discussioncomment-15760394

主要语言
JavaScript
星标
13.2k
派生
1.4k
平均合并
6 天 15 小时
30 天内合并 PR
6

贡献指南

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

从这里开始

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

brianc/node-postgres 的其他 Issue

查看 brianc/node-postgres 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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