Feature: Preview for bytea image fields in query results
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
The issue does not identify any files, tests, or entry points in pgAdmin. Research would need to locate the query result grid and its bytea rendering path first; done would include image detection and preview behavior, with the optional open and download actions defined and tested.
由索引模型根据 Issue 内容生成。
描述
Describe the solution you'd like
Add native support in pgAdmin to preview bytea fields as images (e.g., JPEG, PNG) directly in the query result grid.
The tool should automatically detect common image formats and provide a visual preview (thumbnail or full image), similar to what is available in DBeaver.
Optionally, include actions such as:
- "Open as image"
- "Download file"
Describe alternatives you've considered
Currently, the only alternatives are:
- Manually converting
byteadata to base64 or binary and saving it as a file - Using external tools or scripts (e.g., Node.js, Python) to reconstruct the image
- Using other database clients like DBeaver, which already support this feature
These approaches are time-consuming and reduce productivity when inspecting data.
Additional context
This feature would significantly improve the usability of pgAdmin when working with binary data, especially for debugging and validating stored images.
Example use case:
SELECT image_data FROM files LIMIT 1;
In pgAdmin, the result is displayed as raw binary/hex data, making it difficult to interpret. A built-in preview would eliminate the need for manual extraction.
This is particularly useful in systems that store files or images directly in PostgreSQL using bytea.
- 主要语言
- Python
- 星标
- 3.9k
- 派生
- 918
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 35
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pgadmin-org/pgadmin4 的其他 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
pgadmin-org/pgadmin4#10673 ·
维护者通常 2 天内回复
-
Import/Export Data fails for a file name containing a backslash, and creates a stray file named E未关闭Bug
难度 2/5 1-3 小时 新手友好度 82/100
pgadmin-org/pgadmin4#10672 ·
维护者通常 2 天内回复
-
Feature
难度 2/5 1-3 小时 新手友好度 78/100
pgadmin-org/pgadmin4#10426 · 3 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
Drag-n-drop file to sql editor tool don't clear previous content before adding the new content in windows可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Feature
难度 2/5 1-3 小时 新手友好度 68/100
pgadmin-org/pgadmin4#10272 · 5 条评论 ·
维护者通常 2 天内回复
-
Housekeeping
难度 2/5 1-3 小时 新手友好度 76/100
pgadmin-org/pgadmin4#10157 · 1 条评论 ·
维护者通常 2 天内回复
查看 pgadmin-org/pgadmin4 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
Project-N-E-K-O/N.E.K.O#3670 · 1 条评论 ·
维护者通常 1 天内回复
-
type:docs
难度 2/5 1-3 小时 新手友好度 82/100
jejjohnson/xtremax#123 ·
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
triage
难度 1/5 1 小时以内 新手友好度 78/100
microsoft/agent-framework#10218 ·
维护者通常 1 天内回复
-
fidelity
难度 2/5 半天 新手友好度 66/100
维护者通常 1 天内回复