PostgreSQL 扩展教程
Postgres Extension Tutorial

原始链接: https://github.com/IshaanAdarsh/Postgres-extension-tutorial/blob/main/SGML/intro_and_toc.md

本PostgreSQL扩展教程提供了一个逐步指南,指导你开发PostgreSQL扩展,假设你已经具备PostgreSQL和目标编程语言的基本知识。本教程涵盖了扩展的创建、管理和分发,从环境设置和基本组件开始。然后,它将指导你构建你的第一个扩展,包括编写控制文件和SQL文件,创建Makefile以及在PostgreSQL中安装扩展。 本教程还涵盖了回归测试,以确保扩展功能的正确性。讨论了扩展的可升级性,包括更新扩展的方法。解释了版本控制、README文件、文档和变更日志等管理主题。最后,介绍了通过PGXN和包管理器进行分发。 高级主题探讨了像PL/pgSQL和PL/Python这样的过程语言,以及像C这样的外部语言,用于扩展创建。本教程还深入探讨了通过使用`pg_sample_ext`中的示例创建自定义函数、数据类型和运算符来扩展PostgreSQL。最终,用户将获得为PostgreSQL扩展生态系统做出贡献的坚实基础。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Postgres 扩展教程 (github.com/ishaanadarsh) 7 分,作者 giulianopz,2 小时前 | 隐藏 | 过去 | 收藏 | 讨论 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文
Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 6.71 KB

intro_and_toc.md

File metadata and controls

56 lines (43 loc) · 6.71 KB

Postgres Extension Tutorial

Welcome to the Postgres Extension Tutorial. This comprehensive tutorial is designed to provide a step-by-step guide to PostgreSQL extension development. Whether you're new to PostgreSQL or extension development, this tutorial assumes only a basic knowledge of Postgres and the target programming language. It covers various aspects of creating, managing, and distributing extensions for PostgreSQL.

After completing this tutorial, you'll have a strong foundation in PostgreSQL extension development, and you can explore advanced topics in PostgreSQL or contribute to the extension ecosystem.

Table of Contents

联系我们 contact @ memedata.com