Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add English and Chinese documentation #219

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/Apache_test_en_tx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PostgreSQL Server Applications-pg_controldata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The product name is not correct. It should be "Apache Cloudberry".

=======
pg_controldata — display control information of a PostgreSQL database cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pg_controldata — display control information of a PostgreSQL database cluster
pg_controldata — displays the control information of a PostgreSQL database cluster.


Synopsis
-------------
`pg_controldata` [_`option`_] [[ `-D` | `--pgdata` ]_`datadir`_]

Description
-------------
`pg_controldata` prints information initialized during `initdb`, such as the catalog version. It also shows information about write-ahead logging and checkpoint processing. This information is cluster-wide, and not specific to any one database.

This utility can only be run by the user who initialized the cluster because it requires read access to the data directory. You can specify the data directory on the command line, or use the environment variable `PGDATA`. This utility supports the options `-V` and `--version`, which print the pg_controldata version and exit. It also supports options `-?` and `--help`, which output the supported arguments.

Environment
-------------
`PGDATA`

Default data directory location

`PG_COLOR`

Specifies whether to use color in diagnostic messages. Possible values are `always`, `auto` and `never`.

Submit correction
------------
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use [this form](https://www.postgresql.org/account/comments/new/14/app-pgcontroldata.html/) to report a documentation issue.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
PostgreSQL 服务器应用程序-pg_controldata
=======
pg_controldata — 显示PostgreSQL数据库集群的控制信息

概要
-------------
`pg_controldata` [_`option`_] [[ `-D` | `--pgdata` ]_`datadir`_]

描述
-------------
`pg_controldata` 打印在 `initdb` 期间初始化的信息,例如目录版本。它还显示有关预写日志记录和检查点处理的信息。这些信息是集群范围的,而不是特定于任何单个数据库的。

此工具只能由初始化集群的用户运行,因为它需要对数据目录的读取访问权限。您可以在命令行上指定数据目录,或者使用环境变量 `PGDATA`。此工具支持选项 `-V` 和 `--version`,它们会打印 `pg_controldata` 的版本并退出。它还支持选项 `-?` 和 `--help`,它们会输出受支持的参数。

环境
-------------

`PGDATA`

默认数据目录位置

`PG_COLOR`

指定是否在诊断消息中使用颜色。可能的值为`always`、`auto`和`never`

提交更正
------------
如果您发现文档中存在任何不正确的内容、与您对特定功能的体验不符或需要进一步说明,请使用 [此表格](https://www.postgresql.org/account/comments/new/14/app-pgcontroldata.html/) 报告文档问题。
Loading