README.md 7.5 KB
Newer Older
茶陵後's avatar
茶陵後 已提交
1
# PostgreSQL 中文文档
K
KyleZhang 已提交
2

茶陵後's avatar
茶陵後 已提交
3
PostgreSQL 中文文档社区,从实操的角度整理翻译 PostgreSQL 相关文档,包括快速开始、安装指南、开发工具配置、代码案例等。
K
KyleZhang 已提交
4 5 6


## 内容列表
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<details>
    <summary>展开查看内容列表</summary>

-   [前言](preface.html)

    -   [1.什么是PostgreSQL?](intro-whatis.html)

    -   [2.PostgreSQL的简史](history.html)

    -   [3.公约](notation.html)

    -   [4.进一步资料](resources.html)

    -   [5.漏洞报告指南](bug-reporting.html)

李少辉-开发者's avatar
build  
李少辉-开发者 已提交
22
-   [一、教程](tutorial.html)
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

    -   [1.开始](tutorial-start.html)

    -   [2.SQL语言](tutorial-sql.html)

    -   [3.高级功能](tutorial-advanced.html)

-   [二、SQL语言](sql.html)

    -   [4.SQL语法](sql-syntax.html)

    -   [5.数据定义](ddl.html)

    -   [6.数据操纵](dml.html)

    -   [7.查询](queries.html)

    -   [8.数据类型](datatype.html)

    -   [9.功能和操作员](functions.html)

    -   [10.类型转换](typeconv.html)

    -   [11.索引](indexes.html)

    -   [12.全文搜索](textsearch.html)

    -   [13.并发控制](mvcc.html)

    -   [14.表演技巧](performance-tips.html)

    -   [15.并行查询](parallel-query.html)

李少辉-开发者's avatar
build  
李少辉-开发者 已提交
56
-   [三、服务器管理](admin.html)
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93

    -   [16.从二进制文件安装](install-binaries.html)

    -   [17.从源代码安装](installation.html)

    -   [18.从Windows上的源代码安装](install-windows.html)

    -   [19.服务器设置和操作](runtime.html)

    -   [20.服务器配置](runtime-config.html)

    -   [21.客户端身份验证](client-authentication.html)

    -   [22.数据库角色](user-manag.html)

    -   [23.管理数据库](managing-databases.html)

    -   [24.本地化](charset.html)

    -   [25.日常数据库维护任务](maintenance.html)

    -   [26.备份和恢复](backup.html)

    -   [27.高可用性、负载平衡和复制](high-availability.html)

    -   [28.监测数据库活动](monitoring.html)

    -   [29.监视磁盘使用情况](diskusage.html)

    -   [30.可靠性和预写日志](wal.html)

    -   [31.逻辑复制](logical-replication.html)

    -   [32.即时编译(JIT)](jit.html)

    -   [33.回归测试](regress.html)

李少辉-开发者's avatar
build  
李少辉-开发者 已提交
94
-   [四、客户端接口](client-interfaces.html)
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
95 96 97 98 99 100 101 102 103

    -   [34.libpq-C库](libpq.html)

    -   [35.大型物体](largeobjects.html)

    -   [36.ECPG-C中的嵌入式SQL](ecpg.html)

    -   [37.信息模式](information-schema.html)

李少辉-开发者's avatar
build  
李少辉-开发者 已提交
104
-   [五、服务器编程](server-programming.html)
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131

    -   [38.扩展SQL](extend.html)

    -   [39.触发器](triggers.html)

    -   [40.事件触发器](event-triggers.html)

    -   [41.规则体系](rules.html)

    -   [42.程序语言](xplang.html)

    -   [43.PL/pgSQL——SQL过程语言](plpgsql.html)

    -   [44.PL/Tcl-Tcl过程语言](pltcl.html)

    -   [45.PL/Perl——Perl过程语言](plperl.html)

    -   [46.PL/Python——Python过程语言](plpython.html)

    -   [47.服务器编程接口](spi.html)

    -   [48.后台工作进程](bgworker.html)

    -   [49.逻辑解码](logicaldecoding.html)

    -   [50.复制进度跟踪](replication-origins.html)

李少辉-开发者's avatar
build  
李少辉-开发者 已提交
132
-   [六、参考文献](reference.html)
李少辉-开发者's avatar
build  
李少辉-开发者 已提交
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218

    -   [一、SQL逗号-nds](sql-commands.html)
    -   [二、PostgreSQL客户端应用程序](reference-client.html)
    -   [三、 PostgreSQL Server应用程序](reference-server.html)

-   [七、内部构件](internals.html)

    -   [51.PostgreSQL内部结构概述](overview.html)

    -   [52.系统目录](catalogs.html)

    -   [53.前端/后端协议](protocol.html)

    -   [54.PostgreSQL编码约定](source.html)

    -   [55.母语支持](nls.html)

    -   [56.编写过程语言处理程序](plhandler.html)

    -   [57.编写外国数据包装器](fdwhandler.html)

    -   [58.编写表格抽样方法](tablesample-method.html)

    -   [59.编写自定义扫描提供程序](custom-scan.html)

    -   [60.遗传查询优化器](geqo.html)

    -   [61.表访问方法接口定义](tableam.html)

    -   [62.索引访问方法接口定义](indexam.html)

    -   [63.通用记录](generic-wal.html)

    -   [64.B树索引](btree.html)

    -   [65.主要索引](gist.html)

    -   [66.标准普尔GiST指数](spgist.html)

    -   [67.杜松子酒指数](gin.html)

    -   [68.布林指数](brin.html)

    -   [69.散列索引](hash-index.html)

    -   [70.数据库物理存储](storage.html)

    -   [71.系统目录声明和初始内容](bki.html)

    -   [72.规划者如何使用统计数据](planner-stats-details.html)

    -   [73.备份清单格式](backup-manifest-format.html)

-   [八、附录](appendixes.html)

    -   [A.PostgreSQL错误代码](errcodes-appendix.html)

    -   [B.日期/时间支持](datetime-appendix.html)

    -   [C.SQL关键字](sql-keywords-appendix.html)

    -   [D.SQL一致性](features.html)

    -   [E.发行说明](release.html)

    -   [F.额外提供的模块](contrib.html)

    -   [G.额外提供的程序](contrib-prog.html)

    -   [H.外部项目](external-projects.html)

    -   [I.源代码存储库](sourcerepo.html)

    -   [J.文件](docguide.html)

    -   [K.PostgreSQL限制](limits.html)

    -   [L.首字母缩略词](acronyms.html)

    -   [M.词汇表](glossary.html)

    -   [N.颜色支持](color.html)

    -   [O.过时或重命名的功能](appendix-obsolete.html)

</details>
K
KyleZhang 已提交
219 220 221 222 223 224 225 226 227 228 229 230 231

## 贡献者列表
<div id="list" style="display: flex; flex-wrap: wrap">
    <a href="https://gitcode.net/zkxw2008" style="padding-right: 5px;">
        <img width="40px;" src="https://profile.csdnimg.cn/E/1/2/1_zkxw2008">
    </a>
    <a href="https://gitcode.net/lshemail" style="padding-right: 5px;">
        <img width="40px;" src="https://profile.csdnimg.cn/D/4/5/1_lshemail">
    </a>
</div>

## 参与贡献流程

茶陵後's avatar
茶陵後 已提交
232
所有 **`PostgreSQL 熟练使用者`** 可以参与到`PostgreSQL 中文文档`的建设中来,选择自己感兴趣题目,可以直接撰写文章,也可以翻译 [PostgreSQL 官方](https://www.postgresql.org/docs/14/index.html) 上面的内容,也可以校对别人翻译的文章。具体贡献流程如下。
K
KyleZhang 已提交
233 234 235 236
![](./readme/readme-1.png)

### 1. 阅读文档帮助改善

茶陵後's avatar
茶陵後 已提交
237
[`PostgreSQL 中文文档`](https://docs.gitcode.net/pg/guide)上浏览某一篇文档时,发现有不准确的地方,可以`随时`在该页面的左下方点击`在 GitCode 上编辑此页`
K
KyleZhang 已提交
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
![](./readme/readme-2.png)

### 2. 在 `GitCode` 校对/创作

进入 `GitCode` 之后,会自动定位到你想要修改的文件,修改文件内容。

#### 2-1. 仓库的成员

如果是仓库的成员,点击`“编辑”按钮,会直接进入可编辑的状态,供你修改文件内容。

![](./readme/readme-3.png)

![](./readme/readme-4.png)

#### 2-2. 非仓库的成员

如果是非仓库的成员,点击`“编辑”`,`GitCode` 会提醒你没有权限编辑,可以点击`Fork`按钮,将该项目克隆到你的 `GitCode` 账户下。

![](./readme/readme-5.png)


### 3. 内容编辑完成提交PR

茶陵後's avatar
茶陵後 已提交
261
内容编辑完成者向[此仓库](https://gitcode.net/dev-cloud/pg)提交 MR(Merge Request)。
K
KyleZhang 已提交
262 263

### 4. 审核
茶陵後's avatar
茶陵後 已提交
264
[主仓库](https://gitcode.net/dev-cloud/pg) 管理者会 Review,符合要求的,即会 Merge 到[主仓库](https://gitcode.net/dev-cloud/pg)中。
K
KyleZhang 已提交
265 266 267 268 269 270 271 272

### 5. 查看更新
Merge 成功之后,稍等片刻就可以刷新页面查看更新。


## 专业词汇表(持续更新,欢迎补充)
| 术语                       | 翻译                       |
|--------------------------|--------------------------|
茶陵後's avatar
茶陵後 已提交
273
| PostgreSQL              | PostgreSQL              |
K
KyleZhang 已提交
274 275


李少辉-开发者's avatar
build  
李少辉-开发者 已提交
276 277
<!-- 
## 声明 -->