作者为 CloudNativePG 构建 Postgres 扩展容器,重点解决 SBOM 与来源验证问题。初期 PGRX 与上游验证命令不一致导致用户困惑,后改用 Docker 自定义 SBOM 生成器重构,将逻辑集中于单一模块,构建改动极小。AI 可加速编码但无法判断正确设计。项目已可测试,包含 PG-Cron 等扩展,后续将合并 PR 并提交上游。
I like reproducible development. I also like short feedback loops. Combining both for pgrx was… educational. 🙂 In this post, I share the mistakes, the small pains, and the fixes I used to get a...
PostgreSQL is a very versatile database. It has countless ways of bringing different functionalities to an already very sophisticated piece of software. Today, I’m going to show you how to use...
作者在项目中使用 Linux bedtools 操作基因组位置,选择 PostgreSQL 和 Rust 版本的 bedtools,通过 pgrx 编译成 SQL 函数,成功实现技术突破。为解决 pgrx 编译和打包的困难,作者开发了基于 Docker 的打包镜像,实践证明非常实用。
昨天发布了pgxn/pgxn-tools Docker镜像的v1.6.0版本,新增了pgrx-build-test命令,类似于现有的PGXS扩展的pg-build-test实用程序,但适用于pgrx扩展。该命令用于安装、构建和测试pgrx扩展。发布pgrx扩展的模式与以前相同,可以从模板生成META.json文件。希望在PGXN上看到更多的pgrx项目。
本文介绍了使用pgrx工具生成pgmq扩展的方法,包括创建元数据对象和基本操作。同时,还讨论了pgmq.drop_queue()函数的实现细节。读者可以在GitHub上查看代码和获取更多信息。
完成下面两步后,将自动完成登录并继续当前操作。