-
Notifications
You must be signed in to change notification settings - Fork 27
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
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,27 @@ | ||||||
PostgreSQL Server Applications-pg_controldata | ||||||
======= | ||||||
pg_controldata — display control information of a PostgreSQL database cluster | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
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. |
28 changes: 28 additions & 0 deletions
28
i18n/zh/docusaurus-plugin-content-docs/current/Apache_test_ch_tx.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/) 报告文档问题。 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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".