扩展模块
本附录介绍 Halo 数据库提供的 45 个扩展模块,按功能类别拆分为 9 个文件。模块编号遵循 PostgreSQL 扩展惯例(D.1 ~ D.45)。
文件清单
| 文件 | 行数 | 模块数 | 覆盖模块 |
|---|---|---|---|
| D1-管理工具与索引访问方法.md | 637 | 7 | D.1 adminpack、D.2 amcheck、D.3 auth_delay、D.4 auto_explain、D.5 bloom、D.6 btree_gin、D.7 btree_gist |
| D2-文本与数据类型扩展-上.md | 1831 | 6 | D.8 citext、D.9 cube、D.10 dblink、D.11 dict_int、D.12 dict_xsyn、D.13 earthdistance |
| D3-外部数据与文本检索.md | 797 | 5 | D.14 file_fdw、D.15 fuzzystrmatch、D.16 hstore、D.17 intagg、D.18 intarray |
| D4-数据类型与大数据对象.md | 1383 | 4 | D.19 isn、D.20 lo、D.21 ltree、D.22 pageinspect |
| D5-安全与密码学.md | 875 | 6 | D.23 passwordcheck、D.24 pg_buffercache、D.25 pgcrypto、D.26 pg_freespacemap、D.27 pg_prewarm、D.28 pgrowlocks |
| D6-性能统计与监控.md | 1257 | 5 | D.29 pg_stat_statements、D.30 pgstattuple、D.31 pg_trgm、D.32 pg_visibility、D.33 postgres_fdw |
| D7-数值与安全标签.md | 1315 | 5 | D.34 seg、D.35 sepgsql、D.36 spi、D.37 sslinfo、D.38 tablefunc |
| D8-触发器与采样方法.md | 325 | 5 | D.39 tcn、D.40 test_decoding、D.41 tsm_system_rows、D.42 tsm_system_time、D.43 unaccent |
| D9-UUID与XML处理.md | 303 | 2 | D.44 uuid-ossp、D.45 xml2 |
阅读建议
- 想用全文检索(pg_trgm/unaccent)→ 看 D6、D8
- 想做加密(pgcrypto)或安全(passwordcheck/sepgsql/sslinfo)→ 看 D5、D7
- 想做跨库连接(dblink/postgres_fdw/file_fdw)→ 看 D2、D3、D6
- 想做性能诊断(pg_stat_statements/pgstattuple/pg_buffercache/pageinspect)→ 看 D4、D5、D6
- 想用层级/键值/数组数据类型(ltree/hstore/intarray)→ 看 D3、D4
转换说明
- 各卷结构统一为:
##卷标题、###模块名、####模块内子节 - 函数表、配置参数表保持 docx 原样
- 模块计数:D1+D2+D3+D4+D5+D6+D7+D8+D9 = 7+6+5+4+6+5+5+5+2 = 45 个